@import url("common.css?v=3");

/* ── Inner-page hero (providers / drivers / ambassador) ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 4rem 0 3.5rem;
  color: white;
  text-align: center;
}
.page-hero h1 { color: white; font-size: 2.4rem; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 640px; margin: 0 auto 1.75rem; line-height: 1.6; }
.page-hero .hero-btns { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }

/* ── Responsive video embed ── */
.video-embed { display: flex; justify-content: center; margin: 2rem 0; }
.video-embed video {
  width: 100%;
  max-width: 720px;
  border-radius: var(--r-lg);
  box-shadow: 0 16px 40px rgba(18,42,77,0.25);
  background: #000;
  display: block;
}

/* ── Document grid (shared with terms.html's own copy) ── */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.doc-card {
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.25rem 1rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.doc-card:hover { border-color: var(--coral); box-shadow: 0 4px 16px rgba(255,94,94,0.1); }
.doc-card-icon { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--grad); display: flex; align-items: center; justify-content: center; margin-bottom: 0.25rem; }
.doc-card-icon svg { flex-shrink: 0; }
.doc-card h4 { font-size: 0.92rem; font-weight: 800; color: var(--text); }
.doc-card p { font-size: 0.8rem; color: var(--text-mid); line-height: 1.55; margin: 0; }
.doc-sides { display: flex; gap: 0.4rem; margin-top: 0.4rem; flex-wrap: wrap; }
.side-badge { display: inline-block; font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 50px; background: rgba(255,94,94,0.1); color: var(--coral); letter-spacing: 0.3px; }

/* ── Step flow ── */
.step-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.step-card { background: white; border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 1.1rem; text-align: center; position: relative; }
.step-card .step-n { font-size: 2rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 0.5rem; }
.step-card h4 { font-size: 0.88rem; font-weight: 800; color: var(--text); margin-bottom: 0.3rem; }
.step-card p { font-size: 0.78rem; color: var(--text-mid); margin: 0; line-height: 1.5; }

/* ── Resource cards ── */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin: 1.5rem 0 2rem; }
.resource-card {
  background: white; border: 1.5px solid var(--border); border-radius: var(--r-xl); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.85rem; position: relative; overflow: hidden;
  transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur);
}
.resource-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.resource-card:hover { border-color: var(--coral); box-shadow: 0 10px 30px rgba(255,94,94,0.14); transform: translateY(-3px); }
.resource-card-icon { width: 48px; height: 48px; border-radius: var(--r-lg); background: var(--grad); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(255,94,94,0.25); }
.resource-card h4 { font-size: 1.02rem; font-weight: 800; color: var(--text); }
.resource-card p { font-size: 0.86rem; color: var(--text-mid); line-height: 1.6; flex-grow: 1; margin: 0; }
.resource-card .btn { align-self: flex-start; }

/* ── Order / job journey pills ── */
.journey-flow { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0; align-items: center; }
.journey-pill { background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 50px; padding: 0.55rem 1.1rem; font-size: 0.85rem; font-weight: 700; color: var(--text); }
.journey-arrow { color: var(--coral); font-weight: 900; }

/* ── FAQ accordion (native details/summary, no JS needed) ── */
.faq-list { margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: white; border: 1.5px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 1.1rem 1.4rem; font-weight: 800; font-size: 0.95rem; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--coral); font-size: 1.3rem; font-weight: 900; flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:focus-visible { outline: 2px solid var(--coral); outline-offset: -2px; }
.faq-item p { margin: 0 1.4rem 1.1rem; font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }

/* ── CTA section (copied from index.css so inner pages don't need it) ── */
.cta-section { background: var(--grad); padding: 5rem 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -80px; right: -80px; width: 400px; height: 400px; background: rgba(255,255,255,0.06); border-radius: 50%; pointer-events: none; }
.cta-section::after { content: ''; position: absolute; bottom: -100px; left: -80px; width: 350px; height: 350px; background: rgba(0,0,0,0.08); border-radius: 50%; pointer-events: none; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2.5rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-text h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 900; color: white; margin-bottom: 0.6rem; }
.cta-text p { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 520px; }
.cta-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; flex-shrink: 0; }

/* ── Highlight box + misc (copied from contact.css) ── */
.highlight-box { background: rgba(255,94,94,0.05); border-left: 4px solid var(--coral); padding: 1.2rem 1.4rem; border-radius: 0 var(--r-md) var(--r-md) 0; margin: 1.5rem 0; }
.highlight-box h4 { color: var(--coral); font-size: 0.9rem; font-weight: 800; margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.5px; }
.section-divider { height: 1px; background: var(--border); margin: 2rem 0; }
.last-updated { font-style: italic; color: var(--text-light); font-size: 0.85rem; margin-top: 2rem; text-align: right; }

/* ── Simple numbered list (ambassador steps, etc.) ── */
.simple-steps { counter-reset: step; display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0; }
.simple-steps li { list-style: none; display: flex; gap: 1rem; align-items: flex-start; }
.simple-steps li::before {
  counter-increment: step; content: counter(step);
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: white;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem;
}
