/* =============================================================
   Rio Grande Websites — Static SEO landing pages
   Layout extras only. Tokens live in /colors_and_type.css and
   shared components (nav, footer, buttons, cards, FAQ, prose)
   come from /ui_kits/marketing/styles.css.
   ============================================================= */

/* Static-page nav uses real <a href> links; keep the same look. */
.nav-link, .nav-cta, .nav-brand, .nav-drawer-links a, .nav-drawer-cta { text-decoration: none; }
.nav-brand { text-decoration: none; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  max-width: var(--content-max); margin: 0 auto;
  padding: 0 0 8px; font-size: 13px; color: var(--rg-fg-muted);
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--rg-ink-300); }
.breadcrumb a { color: var(--rg-fg-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--rg-fg); text-decoration: underline; text-decoration-color: var(--rg-clay-500); }
.breadcrumb [aria-current] { color: var(--rg-fg); }

/* ---- Landing hero ---- */
.lp-hero { padding-top: 132px; position: relative; overflow: hidden; }
.lp-hero::after {
  content: ''; position: absolute; top: -10%; right: -8%; width: 640px; height: 640px;
  background: radial-gradient(closest-side, rgba(166,85,64,0.18), rgba(166,85,64,0) 70%);
  pointer-events: none; z-index: 0;
}
.lp-hero .container { position: relative; z-index: 2; }
.lp-hero h1 {
  font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.03em;
  font-weight: 600; margin: 16px 0 24px; max-width: 16ch;
}
.lp-hero h1 em {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  color: var(--rg-clay-500); letter-spacing: -0.02em;
}
.lp-lede { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: var(--rg-fg-soft); max-width: 620px; margin: 0 0 28px; }
.lp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

/* ---- Trust row ---- */
.trust-row {
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--rg-line);
  max-width: var(--content-max);
}
.trust-chip {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--rg-fg-soft);
}
.trust-chip svg { width: 18px; height: 18px; color: var(--rg-turq-500); flex-shrink: 0; }

/* ---- Long-form prose (landing pages) ---- */
.prose { color: var(--rg-fg-soft); max-width: 760px; }
.prose h2 {
  font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -0.025em;
  color: var(--rg-fg); margin: 44px 0 14px; line-height: 1.12;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: var(--rg-fg); margin: 28px 0 8px; }
.prose p { font-size: 17px; line-height: 1.75; margin: 0 0 18px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { font-size: 17px; line-height: 1.7; color: var(--rg-fg-soft); margin-bottom: 8px; }
.prose li::marker { color: var(--rg-clay-500); }
.prose strong { color: var(--rg-fg); font-weight: 600; }
.prose a { color: var(--rg-clay-700); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--rg-clay-500); }
.prose h4 { font-size: 17px; font-weight: 600; color: var(--rg-fg); margin: 22px 0 6px; }

/* ---- Legal / policy pages ---- */
.legal-meta { color: var(--rg-fg-soft); font-size: 14px; margin: 0 0 8px; }
.legal-toc { margin: 0 0 18px; padding-left: 22px; }
.legal-toc li { font-size: 16px; line-height: 1.6; margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.prose th, .prose td {
  border: 1px solid var(--rg-line); padding: 10px 12px;
  text-align: left; vertical-align: top; color: var(--rg-fg-soft);
}
.prose th { color: var(--rg-fg); font-weight: 600; background: var(--rg-cream-100); }

/* ---- Two-column content + sticky CTA aside ---- */
.lp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.lp-grid .prose { max-width: none; }
.lp-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.lp-card {
  background: var(--rg-bg-card); border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm); padding: 28px 26px;
}
.lp-card h2, .lp-card h3 { font-size: 19px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; }
.lp-card p { font-size: 14px; color: var(--rg-fg-soft); line-height: 1.6; margin: 0 0 16px; }
.lp-card .btn { width: 100%; justify-content: center; }
.lp-card .lp-meta { font-size: 13px; color: var(--rg-fg-muted); margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--rg-line); }
.lp-card .lp-meta a { color: var(--rg-fg); }

/* ---- Benefit / feature cards reuse .service-card; small tweaks ---- */
.lp-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-feature-grid.two { grid-template-columns: repeat(2, 1fr); }

/* ---- Step list (process) ---- */
.lp-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ---- Related links ---- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-grid a {
  display: block; background: var(--rg-bg-card); border-radius: var(--r-lg);
  padding: 20px 22px; box-shadow: var(--shadow-xs); text-decoration: none;
  transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft);
}
.related-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.related-grid .rl-title { display: block; font-size: 16px; font-weight: 600; color: var(--rg-fg); letter-spacing: -0.01em; }
.related-grid .rl-desc { font-size: 13.5px; color: var(--rg-fg-muted); margin-top: 6px; line-height: 1.5; }

/* ---- Tinted section ---- */
.lp-tint { background: var(--rg-sand-100); }
.lp-tint-cream { background: var(--rg-cream-100); }

/* ---- FAQ plus mark for static pages (inline SVG) ---- */
.faq-mark svg { width: 18px; height: 18px; }

@media (max-width: 980px) {
  .lp-grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-aside { position: static; }
}
@media (max-width: 880px) {
  .lp-feature-grid, .lp-feature-grid.two, .lp-steps, .related-grid { grid-template-columns: 1fr; }
}
