/* ============================================================
   iFleet — guide (ghid) landing. Requires base.css
   ============================================================ */

/* ---- hero ---- */
.ghid-hero { border-bottom: 1px solid var(--line); }
.ghid-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
.gh-left { padding: 76px 56px 80px 0; border-right: 1px solid var(--line); }
.gh-right { padding: 56px 0 56px 56px; display: flex; align-items: center; justify-content: center; }
.gh-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 6px 12px; border-radius: 100px; margin-bottom: 26px; }
.ghid-hero h1 { font-size: 54px; margin-bottom: 22px; }
.ghid-hero h1 .em { color: var(--accent-ink); }
.gh-lead { font-size: 19px; color: var(--ink-2); max-width: 42ch; margin: 0 0 32px; text-wrap: pretty; }

/* email capture */
.gh-form { display: flex; gap: 10px; max-width: 440px; margin-bottom: 14px; flex-wrap: wrap; }
.gh-form input {
  flex: 1; min-width: 200px; font-family: var(--font-sans); font-size: 15px;
  padding: 13px 15px; border: 1px solid var(--line-2); border-radius: var(--r-md);
  background: var(--paper); color: var(--ink);
}
.gh-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.gh-note { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.02em; }

/* book / pdf placeholder */
.book {
  width: 290px; aspect-ratio: 3 / 4; border-radius: 4px 8px 8px 4px;
  background: var(--ink); color: var(--paper); position: relative;
  box-shadow: var(--shadow-pop), -8px 0 0 -2px var(--accent), -16px 0 0 -4px var(--accent-line);
  padding: 34px 30px; display: flex; flex-direction: column; overflow: hidden;
}
.book::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 1px; background: oklch(1 0 0 / 0.12); }
.book .bk-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: auto; }
.book .bk-title { font-size: 30px; font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; }
.book .bk-title .em { color: var(--accent); }
.book .bk-foot { font-family: var(--font-mono); font-size: 11px; color: oklch(0.7 0.01 255); letter-spacing: 0.05em; margin-top: 18px; }
.book .bk-pages { position: absolute; right: -1px; top: 14px; bottom: 14px; width: 5px; background: repeating-linear-gradient(var(--paper) 0 1px, var(--paper-3) 1px 3px); border-radius: 2px; }

/* ---- chapters grid ---- */
.chapters { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.chapter { padding: 30px 28px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.chapter .ch-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.chapter .ch-mark { width: 11px; height: 11px; background: var(--accent); flex: none; }
.chapter .ch-mark.ring { background: transparent; border: 2.5px solid var(--accent); border-radius: 50%; }
.chapter .ch-mark.diag { background: var(--accent); transform: rotate(45deg); }
.chapter .ch-num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); letter-spacing: 0.05em; }
.chapter h3 { font-size: 17.5px; margin-bottom: 8px; letter-spacing: -0.01em; }
.chapter p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

/* ---- audience tags ---- */
.audience { text-align: center; }
.audience h2 { font-size: 32px; margin-bottom: 16px; }
.audience p { font-size: 17px; color: var(--ink-2); max-width: 60ch; margin: 0 auto 28px; text-wrap: pretty; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tags .tag { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line-2); padding: 9px 16px; border-radius: 100px; }

/* ---- final CTA ---- */
.ghid-cta { background: var(--ink); color: var(--paper); }
.ghid-cta .wrap { padding-top: 72px; padding-bottom: 72px; text-align: center; }
.ghid-cta h2 { font-size: 34px; margin-bottom: 12px; }
.ghid-cta h2 .em { color: var(--accent); }
.ghid-cta p { color: oklch(0.78 0.01 255); margin: 0 auto 28px; font-size: 16px; max-width: 46ch; }
.ghid-cta .gh-form { justify-content: center; margin: 0 auto 14px; }
.ghid-cta .gh-form input { background: oklch(1 0 0 / 0.06); border-color: oklch(1 0 0 / 0.18); color: var(--paper); }
.ghid-cta .gh-form input::placeholder { color: oklch(0.7 0.01 255); }
.ghid-cta .gh-note { color: oklch(0.62 0.01 255); }

/* ============================================================
   GHID RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .ghid-hero-grid { grid-template-columns: 1fr; }
  .gh-left { border-right: none; border-bottom: 1px solid var(--line); padding: 56px 0 48px; }
  .gh-right { padding: 48px 0 56px; }
  .ghid-hero h1 { font-size: 44px; }
  .chapters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .ghid-hero h1 { font-size: 34px; }
  .gh-lead { font-size: 17px; }
  .gh-form input { min-width: 0; }
  .gh-form .btn { width: 100%; justify-content: center; }
  .chapters { grid-template-columns: 1fr; }
  .audience h2 { font-size: 26px; }
  .ghid-cta h2 { font-size: 26px; }
  .book { width: 230px; }
}
