/* ==========================================================================
   Client Documents - a third distinct mood. Home is kinetic (motion),
   Enterprise is calm/structural (a static hub diagram), this page is
   paper/ledger: stacked, slightly-rotated ticket-stub cards with a stamp,
   because the feature itself is literally a sequential paper trail.
   ========================================================================== */
.docs-page .op-section-header { max-width: 600px; }
/* ---- Hero: rotated document stack ---- */
.docs-hero {
  position: relative;
  overflow: hidden;
  padding: var(--st-space-4xl) 0;
  background: radial-gradient(ellipse 700px 450px at 15% 15%, rgba(201,168,76,0.10), transparent 60%), var(--st-navy);
  border-bottom: 1px solid var(--st-navy-mid);
}
.docs-hero-grid { position: relative; z-index: 2; display: grid; gap: var(--st-space-2xl); align-items: center; }
@media (min-width: 960px) { .docs-hero-grid { grid-template-columns: 1.1fr 1fr; } }
.docs-hero-copy h1 { margin-bottom: var(--st-space-lg); }
.docs-hero-copy h1 em { font-style: normal; color: var(--st-gold); }
.docs-hero-copy .hero-sub { max-width: 460px; font-size: 17px; color: var(--st-white-60); margin-bottom: var(--st-space-xl); }
.docs-stack {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-card {
  position: absolute;
  width: 220px;
  background: var(--st-navy-light);
  border: 1px dashed var(--st-navy-mid);
  border-radius: 8px;
  padding: var(--st-space-md);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.doc-card--1 { transform: rotate(-6deg) translate(-70px, -20px); z-index: 1; }
.doc-card--2 { transform: rotate(2deg) translate(0, 10px); z-index: 2; }
.doc-card--3 { transform: rotate(8deg) translate(70px, -10px); z-index: 3; }
.doc-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--st-space-sm); }
.doc-label { font-family: var(--st-font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--st-gold); }
.doc-num { font-family: var(--st-font-mono); font-size: 11px; color: var(--st-white-20); }
.doc-line { height: 6px; border-radius: 3px; background: var(--st-navy-mid); margin-bottom: 6px; }
.doc-line--short { width: 60%; }
.doc-stamp {
  display: inline-block;
  margin-top: var(--st-space-sm);
  font-family: var(--st-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 3px;
  transform: rotate(-4deg);
}
.doc-stamp--issued { background: rgba(201,168,76,0.16); color: var(--st-gold-light); border: 1px solid rgba(201,168,76,0.4); }
.doc-stamp--paid { background: rgba(56,161,105,0.16); color: var(--st-signal-live); border: 1px solid rgba(56,161,105,0.4); }
/* ---- Sections ---- */
.docs-section { padding: var(--st-space-4xl) 0; }
.docs-section--alt { background: var(--st-navy-light); border-top: 1px solid var(--st-navy-mid); border-bottom: 1px solid var(--st-navy-mid); }
/* ---- Chain visual: quote -> invoice -> receipt -> ticket ---- */
.docs-chain-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--st-space-md);
  margin-bottom: var(--st-space-2xl);
}
.docs-chain-node {
  font-family: var(--st-font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--st-white);
  background: var(--st-navy);
  border: 1px solid var(--st-gold);
  border-radius: 20px;
  padding: 10px 22px;
}
.docs-chain-arrow { color: var(--st-gold); font-size: 18px; }
/* .docs-feature-grid / .docs-feature now live in base.css - shared with the Client Documents API reference page. */
/* ---- What your client sees: mock receipt ---- */
.docs-preview-layout { display: grid; gap: var(--st-space-2xl); align-items: center; }
@media (min-width: 900px) { .docs-preview-layout { grid-template-columns: 1.1fr 1fr; } }
.docs-mock-receipt {
  background: var(--st-navy-light);
  border: 1px dashed var(--st-navy-mid);
  border-radius: 10px;
  padding: var(--st-space-xl);
  max-width: 340px;
  margin: 0 auto;
}
.docs-mock-row {
  display: flex;
  justify-content: space-between;
  padding: var(--st-space-sm) 0;
  border-bottom: 1px solid var(--st-navy-mid);
  font-size: 14px;
  color: var(--st-white-90);
}
.docs-mock-total { font-weight: 700; color: var(--st-gold); border-bottom: none; }
.docs-mock-btn {
  margin-top: var(--st-space-lg);
  background: var(--st-gold);
  color: var(--st-navy);
  text-align: center;
  padding: var(--st-space-sm);
  border-radius: var(--st-radius-button);
  font-weight: 700;
  font-size: 14px;
}
/* ---- CTA ---- */
.docs-cta {
  padding: var(--st-space-4xl) 0;
  background: linear-gradient(180deg, var(--st-navy), var(--st-navy-light));
  text-align: center;
}
.docs-cta-inner { max-width: 560px; margin: 0 auto; }
.docs-cta-inner .btn-row { justify-content: center; margin-top: var(--st-space-lg); }
@media (max-width: 780px) {
  .docs-stack { height: 220px; }
  .doc-card { width: 160px; }
}
/* ============ Real documents (images from the platform's PDF builder) ============ */
.docs-fan { position: relative; height: 470px; max-width: 520px; width: 100%; margin: 0 auto; }
.docs-fan__page { position: absolute; top: 0; width: 62%; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5); transition: transform 0.3s ease; }
.docs-fan__page img { display: block; width: 100%; height: auto; }
.docs-fan__page--1 { left: 0; transform: rotate(-7deg) translateY(28px); }
.docs-fan__page--2 { left: 19%; transform: rotate(-1deg) translateY(6px); z-index: 2; }
.docs-fan__page--3 { left: 38%; transform: rotate(6deg) translateY(30px); z-index: 3; }
@media (hover: hover) { .docs-fan:hover .docs-fan__page--1 { transform: rotate(-10deg) translate(-14px, 24px); } .docs-fan:hover .docs-fan__page--3 { transform: rotate(9deg) translate(14px, 26px); } }
@media (max-width: 600px) { .docs-fan { height: 330px; } }
.docs-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .docs-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .docs-types { grid-template-columns: minmax(0, 1fr); } }
.docs-type { display: flex; flex-direction: column; border: 1px solid var(--st-navy-mid); border-radius: 16px; overflow: hidden; background: var(--st-navy-light); }
.docs-type__visual { height: 250px; overflow: hidden; display: grid; place-items: start center; padding: 22px 22px 0; background: radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.12), transparent 70%), #0c1a31; }
.docs-type__visual img { display: block; width: 78%; height: auto; border-radius: 4px 4px 0 0; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45); }
.docs-type--idcard .docs-type__visual { place-items: center; padding: 22px; }
.docs-type--idcard .docs-type__visual img { width: 92%; border-radius: 10px; }
.docs-type__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.docs-type__who { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--st-gold); }
.docs-type__body h3 { font-family: var(--st-font-display); font-size: 25px; font-weight: 700; color: var(--st-white); margin: 0; }
.docs-type__body p { margin: 0; line-height: 1.6; font-size: 15px; flex: 1; }
.docs-type__actions { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--st-gold-light); }
.docs-ticket { align-self: center; width: 100%; max-width: 340px; display: grid; grid-template-columns: 1fr 86px; background: #fff; color: #1b1b1b; border-radius: 10px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45); margin-top: 18px; }
.docs-ticket__main { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 4px; border-right: 2px dashed #c8cdd6; }
.docs-ticket__brand { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9a7b2f; }
.docs-ticket__route { font-family: var(--st-font-display); font-size: 30px; font-weight: 700; color: #0A1628; line-height: 1.1; }
.docs-ticket__route i { font-style: normal; color: #B08D3C; }
.docs-ticket__meta, .docs-ticket__pax { font-size: 12px; color: #4a4f5a; }
.docs-ticket__stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 10px 6px; font-size: 10px; color: #4a4f5a; text-align: center; }
.docs-ticket__stub b { font-family: var(--st-font-display); font-size: 28px; color: #0A1628; }
.docs-brand { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .docs-brand { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.docs-brand__page { margin: 0; max-width: 460px; justify-self: center; transform: rotate(-2deg); }
.docs-brand__page img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.docs-brand__list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.docs-brand__list li { position: relative; padding-left: 26px; color: var(--st-white-90); line-height: 1.55; }
.docs-brand__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--st-gold); background: rgba(201, 168, 76, 0.2); }
.docs-brand__list strong { color: var(--st-white); }
