/* ============================================================================
   site-components.css — shared page components for the buyer marketing site
   Loaded AFTER styles.css. Hero, photo tiles and dynamic card rails are copied
   verbatim from the homepage's inline styles so interior pages (robot-types,
   use-cases, etc.) render pixel-identically. The breadcrumb, pricing table,
   prose, FAQ and related-type components below are new to the interior pages.
   ============================================================================ */

/* ── HERO — layered, off-center (from homepage) ─────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 82% 8%, rgba(13,148,136,.28), transparent 60%),
    radial-gradient(ellipse 70% 60% at 12% 100%, rgba(245,158,11,.16), transparent 62%),
    linear-gradient(135deg, #0f1424 0%, #1a2240 60%, #0f1424 100%);
  color: #fff;
  margin-top: calc(var(--sh-h, 72px) * -1);
  padding-top: var(--sh-h, 72px);
}
.hero::after {
  content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 60% 30%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 80% at 60% 30%, #000, transparent 75%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 56px;
  padding-block: clamp(3rem, 2rem + 6vw, 6rem);
}
.hero-copy { max-width: 580px; }
.hero h1 { color: #fff; font-size: var(--fs-display); line-height: 1.04; letter-spacing: -0.035em; }
.hero h1 em { font-style: italic; font-weight: 500; color: #F59E0B; }
.hero-lead { color: rgba(255,255,255,.72); font-size: var(--fs-lead); margin-top: 22px; max-width: 500px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 13px; color: rgba(255,255,255,.6); }

.hero-visual { position: relative; height: 420px; }
.hv-img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.1); }
.hv-chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 9px;
  background: #fff; color: #1a1a2e; border-radius: 14px; padding: 11px 15px;
  box-shadow: 0 16px 40px rgba(0,0,0,.28); font-size: 13px; font-weight: 600;
}
.hv-chip .ic { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.hv-chip .ic .ic-in { width: 17px; height: 17px; vertical-align: 0; }
.hv-chip-2 { bottom: 12%; left: -14px; }
.hv-chip-2 .ic { background: var(--c-teal-soft); color: var(--c-teal-deep); }
.hv-chip small { display: block; font-size: 11px; font-weight: 500; color: var(--c-text-muted); }
.hero-trust .dots { display: flex; }
.hero-trust .dots span { color: #fff; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { height: 300px; order: -1; }
}

/* ── BREADCRUMB (interior pages, sits in the dark hero) ─────────────────── */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; margin-bottom: 22px; }
.crumbs a { color: rgba(255,255,255,.72); font-weight: 500; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { color: rgba(255,255,255,.35); }
.crumbs .cur { color: #fff; font-weight: 600; }

/* ── PHOTO TILES · categories/types (from homepage) ─────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat {
  position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3;
  border-radius: var(--r-lg); isolation: isolate; background: var(--c-navy);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.tile-image { position: absolute; inset: 0; z-index: 0; }
.tile-image img { width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; transition: transform .5s var(--ease-out); }
.cat:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.cat:hover .tile-image img { transform: scale(1.05); }
.tile-overlay { position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 40%, transparent 70%); }
.tile-label { margin: 0; color: #fff; font-family: var(--font-serif); font-weight: 700;
  font-size: 19px; line-height: 1.2; letter-spacing: -.01em; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.tile-arrow { flex: none; color: #fff; font-size: 22px; line-height: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,.5); transition: transform var(--t-fast); }
.cat:hover .tile-arrow { transform: translateX(4px); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ── LONG-FORM PROSE (editorial content) ────────────────────────────────── */
.prose { max-width: 780px; }
.prose > p { font-size: 16.5px; line-height: 1.75; color: var(--c-text); margin-top: 18px; }
.prose > p:first-child { margin-top: 0; }
.prose .lead-p { font-size: 19px; line-height: 1.65; color: var(--c-text); }
.prose ul { margin-top: 18px; display: grid; gap: 12px; }
.prose ul li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.6; color: var(--c-text); }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--c-teal); }
.prose ul li strong { color: var(--c-navy); }

/* ── PRICING TABLE ──────────────────────────────────────────────────────── */
.price-wrap { overflow-x: auto; border: 1px solid var(--c-neutral-200); border-radius: var(--r-lg);
  background: var(--c-white); }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.price-table thead th { text-align: left; padding: 15px 20px; background: var(--c-neutral);
  font-family: var(--font-sans); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--c-text-muted); font-weight: 700; border-bottom: 1px solid var(--c-neutral-200); }
.price-table td { padding: 15px 20px; border-bottom: 1px solid var(--c-neutral-200); vertical-align: top; }
.price-table tbody tr:last-child td, .price-table tr:last-child td { border-bottom: none; }
.price-table td.k { font-weight: 600; color: var(--c-navy); white-space: nowrap; }
.price-table td.v { font-family: var(--font-serif); font-weight: 700; color: var(--c-teal-deep); white-space: nowrap; }
.price-note { font-size: 13.5px; color: var(--c-text-muted); margin-top: 14px; max-width: 780px; line-height: 1.6; }

/* ── RENT vs BUY compare ────────────────────────────────────────────────── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare .col { border: 1px solid var(--c-neutral-200); border-radius: var(--r-lg); padding: 26px; background: var(--c-white); }
.compare .col.rent { border-top: 3px solid var(--c-teal); }
.compare .col.buy { border-top: 3px solid var(--c-gold); }
.compare .col h3 { font-size: 20px; margin-bottom: 6px; }
.compare .col .who { font-size: 13px; color: var(--c-text-muted); margin-bottom: 16px; }
.compare .col ul { display: grid; gap: 11px; }
.compare .col li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.55; color: var(--c-text); }
.compare .col li::before { content: ''; position: absolute; left: 3px; top: 7px; width: 7px; height: 7px; border-radius: 50%; }
.compare .col.rent li::before { background: var(--c-teal); }
.compare .col.buy li::before { background: var(--c-gold-deep); }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--c-neutral-200); padding: 22px 0; }
.faq-item:first-child { border-top: 1px solid var(--c-neutral-200); }
.faq-item h3 { font-size: 18px; line-height: 1.35; }
.faq-item p { font-size: 15.5px; line-height: 1.7; color: var(--c-text-muted); margin-top: 10px; }

/* ── RELATED TYPES ──────────────────────────────────────────────────────── */
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rel-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid var(--c-neutral-200);
  border-radius: var(--r-lg); background: var(--c-white); transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base); }
.rel-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
.rel-card .rc-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--c-teal-soft); color: var(--c-teal-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.rel-card .rc-ic .ic-in { width: 22px; height: 22px; }
.rel-card h3 { font-size: 18px; }
.rel-card p { font-size: 13.5px; color: var(--c-text-muted); line-height: 1.55; }
.rel-card .link-arrow { margin-top: 6px; font-size: 14px; }
@media (max-width: 720px) { .rel-grid { grid-template-columns: 1fr; } }

/* ── EDITORIAL (from homepage) ──────────────────────────────────────────── */
.editorial { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.editorial.flip { grid-template-columns: 1.1fr 0.9fr; }
.editorial.flip .ed-copy { order: 2; }
.reason { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--c-neutral-200); }
.reason:last-child { border-bottom: none; }
.reason-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.reason-ic .ic-in { width: 22px; height: 22px; }
.reason h4 { margin-bottom: 4px; }
.reason p { font-size: 14px; color: var(--c-text-muted); line-height: 1.6; }
@media (max-width: 860px) { .editorial, .editorial.flip { grid-template-columns: 1fr; gap: 32px; } .editorial.flip .ed-copy { order: 0; } }

/* ── DYNAMIC card rails (companies / robots) — from homepage ─────────────── */
.rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .rail { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rail { grid-template-columns: 1fr; } }
.co-card { display: flex; flex-direction: column; }
.co-media { height: 150px; background: var(--c-neutral); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.co-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.co-tier { position: absolute; top: 10px; left: 10px; }
.co-body { padding: 16px 18px; display: flex; flex-direction: column; flex: 1; }
.co-name { font-family: var(--font-serif); font-size: 17px; font-weight: 600; line-height: 1.25; }
.co-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--c-info); margin-top: 5px; }
.co-verified svg { width: 13px; height: 13px; }
.co-loc { font-size: 12.5px; color: var(--c-text-muted); margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.ic-in { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: none; }
.co-loc .ic-in { width: 14px; height: 14px; }
.hero-trust .dots span .ic-in { width: 15px; height: 15px; vertical-align: 0; }
.co-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.co-foot { margin-top: auto; padding-top: 14px; }
.co-price { font-size: 12.5px; font-weight: 700; color: var(--c-teal-deep); margin-top: 10px; }
.rail-error { grid-column: 1/-1; text-align: center; padding: 20px; color: var(--c-text-muted); font-size: 14px; }

/* ── FINAL CTA (from homepage) ──────────────────────────────────────────── */
.final-cta { position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(245,158,11,.2), transparent 60%), linear-gradient(135deg, #0f1424, #1a2240); color: #fff; }
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,.72); max-width: 560px; margin: 14px auto 0; }
.final-cta .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ── section helpers ────────────────────────────────────────────────────── */
.section-alt { background: var(--c-neutral); }
.section-tight { padding-block: clamp(2.5rem, 1.6rem + 3vw, 4rem); }
.mw-head { max-width: 720px; }
