/* ============================================================
   TG SERVICES — trash valet landing page (/trash)
   Page-specific styles only. Inherits every token, button,
   form, header and footer style from styles.css.
   ============================================================ */

/* ---------- hero ---------- */
.tp-hero {
  position: relative;
  padding: clamp(4.5rem, 5vw + 3rem, 8rem) 0 clamp(3rem, 4vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.tp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 88% 18%, var(--accent-soft), transparent 62%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  z-index: 0;
}
.tp-hero-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.tp-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.35rem, 1rem + 5.2vw, 4.5rem);
  line-height: 0.94;
  letter-spacing: -0.005em;
  margin: 0.65rem 0 0;
  text-wrap: balance;
}
.tp-hero h1 em { font-style: normal; color: var(--accent); }
.tp-lede {
  font-size: var(--text-lg);
  color: var(--text-mute);
  margin-top: var(--space-5);
  max-width: 40ch;
}
.tp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

/* hero image */
.tp-shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.tp-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 24%;
  display: block;
}
.tp-badge {
  position: absolute;
  left: 0; bottom: 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-top-right-radius: var(--radius-sm);
}
.tp-badge b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1;
}
.tp-badge span { font-size: var(--text-sm); font-weight: 600; }

/* ---------- quick facts strip ---------- */
.tp-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  position: relative;
  z-index: 1;
}
.tp-facts div {
  background: var(--surface);
  padding: var(--space-5) var(--space-6);
}
.tp-facts strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.55rem;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.05;
}
.tp-facts span {
  display: block;
  margin-top: 0.3rem;
  font-size: var(--text-sm);
  color: var(--text-mute);
}

/* ---------- generic section head for this page ---------- */
.tp-head { max-width: 56ch; margin-bottom: clamp(2rem, 3vw, 3rem); }
.tp-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: var(--text-2xl);
  line-height: 1.0;
  margin: 0.5rem 0 0;
  text-wrap: balance;
}
.tp-head p {
  color: var(--text-mute);
  font-size: var(--text-base);
  margin-top: var(--space-4);
}
.tp-head a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- how it works + included, side by side ---------- */
.tp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}

/* ---------- signup band ---------- */
.tp-signup {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tp-signup-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.tp-signup .tv-card { margin: 0; }

/* ---------- FAQ ---------- */
.tp-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}
.tp-faq-grid .tp-head { margin-bottom: 0; position: sticky; top: 108px; }
.tp-faq { min-width: 0; }
.tp-faq details {
  border-bottom: 1px solid var(--line);
}
.tp-faq details:first-of-type { border-top: 1px solid var(--line); }
.tp-faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-5) 2.5rem var(--space-5) 0;
  position: relative;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text);
}
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 11px; height: 11px;
  border-right: 2.2px solid var(--accent);
  border-bottom: 2.2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.22s ease;
}
.tp-faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.tp-faq summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.tp-faq .tp-a {
  padding: 0 2.5rem var(--space-6) 0;
  color: var(--text-mute);
  font-size: var(--text-base);
  line-height: 1.62;
  max-width: 66ch;
}
.tp-faq .tp-a a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.tp-faq .tp-a + .tp-a { margin-top: var(--space-3); }

/* ---------- who runs it ---------- */
.tp-who {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(1.75rem, 3vw, 3rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
}
.tp-who img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 66% 22%;
  border-radius: var(--radius-sm);
  display: block;
}
.tp-who h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: var(--text-xl);
  line-height: 1.02;
  margin: var(--space-3) 0 var(--space-5);
}
.tp-who p { color: var(--text-mute); font-size: var(--text-base); line-height: 1.62; }
.tp-who p + p { margin-top: var(--space-3); }

/* ---------- back to main site ---------- */
.tp-back {
  text-align: center;
  padding: clamp(3rem, 5vw, 5rem) 0;
}
.tp-back p { color: var(--text-mute); margin-bottom: var(--space-5); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .tp-hero-in,
  .tp-grid,
  .tp-faq-grid,
  .tp-signup-in { grid-template-columns: minmax(0, 1fr); }
  .tp-faq-grid .tp-head { position: static; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
  .tp-shot { order: -1; aspect-ratio: 16 / 10; }
  .tp-facts { grid-template-columns: minmax(0, 1fr); }
  .tp-who { grid-template-columns: minmax(0, 1fr); }
  .tp-who img { max-width: 240px; }
}
@media (max-width: 560px) {
  .tp-cta .btn { width: 100%; }
  .tp-lede { max-width: none; }
}
