/* KuyaYos trade landing pages — Hormozi-shaped conversion elements.
 * Loaded AFTER css/styles.css (reuses its :root tokens; does NOT redeclare
 * them, and does NOT load book.css — so body.booking-page stays decoupled).
 * The ribbons (press + reviews) reuse the site-wide .ribbon* classes already
 * in styles.css; this file only styles the pieces those pages don't have:
 * the hero CTA spacing, the value stack, the service chips, and the capture
 * form (js/trade-landing.js) that sits lower on the page and hands off to
 * /book/. Mobile-first. */

/* Photographic hero splash: this trade's real job photos behind a brand-teal
 * scrim, white headline over them. Mobile shows the first photo; >=720px
 * shows the triptych. The rest of the page keeps the light docket system. */
.tl-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(360px, 56vh, 560px);
  color: #fff;
  /* Base fill. Photos (when present) cover it; on a photo-less hero it shows
   * through the scrim, so the splash reads as a deep brand-teal panel rather
   * than a stock image we don't have. */
  background: #0e3d4d;
}
/* No real job photo for this trade yet: a brand-teal splash, not stock art.
 * A gentle diagonal deepen gives the plate a little life under the scrim. */
.tl-hero--plain {
  min-height: clamp(320px, 48vh, 480px);
  background: linear-gradient(135deg, #135066 0%, #0c3543 60%, #09232d 100%);
}
.tl-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
}
.tl-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.tl-hero__bg img + img {
  display: none; /* mobile: lead photo only (avoids thin slivers) */
}
.tl-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(9, 35, 45, 0.95) 0%, rgba(13, 50, 63, 0.88) 55%, rgba(16, 58, 73, 0.7) 100%);
}
.tl-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: 2.25rem;
}
.tl-hero .eyebrow {
  color: var(--action);
}
.tl-hero h1 {
  color: #fff;
  margin: 0.35rem 0 0;
}
.tl-hero .section__lede {
  color: rgba(255, 255, 255, 0.92);
  max-width: 38rem;
  margin: 0.9rem 0 0;
}
.tl-hero-cta {
  margin: 1.5rem 0 0;
}
@media (min-width: 720px) {
  .tl-hero__bg img + img {
    display: block; /* triptych */
  }
  .tl-hero__bg img {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* The booking form lives under #book; clear the sticky header on anchor jump. */
#book {
  scroll-margin-top: 84px;
}

/* Value stack + service chips. Both are scoped under
 * `.section-docket.docket-prose` (3 classes, 0-3-0) so they outrank that
 * block's `> ul { list-style: disc; padding-left: 1.25rem }` rule (0-2-1),
 * which would otherwise add disc bullets + a left indent to these lists. */

/* Value stack: what every booking includes. Check + bold label + short tail. */
.section-docket.docket-prose .tl-offer {
  list-style: none;
  margin: 0.35rem 0 0;
  padding-left: 0;
  display: grid;
  gap: 0.75rem 1.5rem;
  grid-template-columns: 1fr;
}
.section-docket.docket-prose .tl-offer > li {
  position: relative;
  margin-bottom: 0;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.tl-offer li::before {
  content: "\2713"; /* check */
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--action);
  font-weight: 800;
}
.section-docket.docket-prose .tl-offer strong {
  color: var(--brand);
}
@media (min-width: 620px) {
  .section-docket.docket-prose .tl-offer {
    grid-template-columns: 1fr 1fr;
  }
}

/* Service chips: the scannable "what we fix" row (replaces a prose list). */
.section-docket.docket-prose .tl-chips {
  list-style: none;
  margin: 0.6rem 0 0;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.section-docket.docket-prose .tl-chips > li {
  margin-bottom: 0;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  background: var(--paper);
}

/* The capture form as a docket card. */
.tl-form {
  background: var(--docket-paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--docket-shadow);
  padding: 1.1rem 1.1rem 1.25rem;
}

.tl-field {
  margin-bottom: 0.85rem;
}
.tl-field:last-of-type {
  margin-bottom: 1.1rem;
}
.tl-field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: var(--ink);
}
.tl-field input,
.tl-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  min-height: 44px; /* tap target */
}
.tl-field input:focus,
.tl-field select:focus {
  outline: 3px solid var(--action);
  outline-offset: 1px;
  border-color: var(--action);
}
.tl-field input[aria-invalid="true"],
.tl-field select[aria-invalid="true"] {
  border-color: #b3261e;
}

.tl-err {
  margin: 0.3rem 0 0;
  color: #b3261e;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Submit button spans the card. */
.tl-form .btn {
  width: 100%;
}

/* Small note under the form (sets the /book/ handoff expectation). */
.tl-guarantee {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--slate-700);
}

/* Close-section cross-links (SEO), kept low-prominence. */
.tl-crosslink {
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

/* consent.js's Accept/Decline banner. Its CSS normally lives in book.css /
 * go.css; these pages load neither, so it is carried here (copied verbatim)
 * or the banner renders unstyled at the page bottom and few people accept. */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 0.9rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  box-shadow: 0 -2px 0 0 var(--action);
}
.consent-banner__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 44rem;
}
.consent-banner__text a { color: #fff; text-decoration: underline; }
.consent-banner__actions { display: flex; gap: 0.6rem; flex: 0 0 auto; }
.consent-banner .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.consent-banner .btn--ghost:hover { border-color: #fff; }

/* The #book section: short pitch beside the form once there is width. */
.tl-cta {
  margin: 1.25rem 0 0;
}
@media (min-width: 760px) {
  .tl-cta {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 340px);
    gap: 1.75rem;
    align-items: start;
  }
  .tl-cta__pitch { margin: 0; }
}
