/* =========================================================
   PROCESS ONE-PAGER (book.html, es/book.html)
   Loaded after styles.css. Only used by the booking pages.
   ========================================================= */

/* Reading progress bar */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--grad-brand); transform-origin: 0 50%; transform: scaleX(0); }

/* Hero */
.bk-hero { padding: 80px 0 48px; }
.bk-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.bk-hero-grid > * { min-width: 0; }
.bk-hero h1 { font-size: clamp(42px, 6vw, 76px); margin-bottom: 26px; }
.bk-trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); }
.bk-trust li { display: inline-flex; align-items: center; gap: 8px; }
.bk-trust li::before { content: "✓"; color: var(--blue-deep); font-weight: 700; }

.call-card {
  padding: 30px 30px 26px; border-radius: 28px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(65, 161, 180, 0.35);
}
.call-card-top { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 18px; }
.call-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
.call-len { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: #f3fafb; letter-spacing: .04em; text-transform: none; }
.call-card-h { font-size: 28px; margin-bottom: 18px; }
.call-card .ticks { margin-bottom: 24px; }
.call-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* 90 days at a glance */
.bk-glance-wrap { padding-top: 8px; padding-bottom: 0; }
.glance {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr);
  border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
}
.glance li { padding: 20px 18px; border-right: 1px solid var(--line); position: relative; }
.glance li:last-child { border-right: 0; }
.glance li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad-brand); opacity: .35; }
.glance li:first-child::before { opacity: 1; }
.glance b { display: block; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.glance span { font-size: 14px; color: var(--muted); }

/* Process layout: sticky heading + timeline */
.bk-process { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 64px; align-items: start; }
.bk-process > * { min-width: 0; }
.bk-process-head { position: sticky; top: 110px; }
.bk-process-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin-bottom: 28px; }
.bk-timeline .tl h3 { font-size: 26px; }
.bk-timeline .tl-card { padding: 28px 30px; }
#call { scroll-margin-top: 96px; }

/* Expandable step detail */
.more { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.more summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--blue-deep);
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 18px; font-weight: 400; line-height: 1; transition: transform .25s ease; }
.more[open] summary::after { transform: rotate(45deg); }
.more > .ticks, .more > .svc-cols { margin-top: 16px; }
.more .svc-cols { gap: 24px; }
.more h4 { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }

/* Mid-timeline CTA */
.tl-dot-cta { background: var(--grad); color: var(--on-brand); border: 0; font-size: 22px; }
.mid-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 22px 26px; border-radius: 22px; color: var(--on-brand);
  background: var(--grad-panel);
  box-shadow: 0 24px 48px -28px rgba(65, 161, 180, 0.7);
}
.mid-cta p { font-size: 16px; color: rgba(14, 42, 50, 0.85); max-width: 380px; }
.mid-cta strong { color: var(--on-brand); }
.mid-cta .btn { background: var(--on-brand); color: #fff; box-shadow: 0 10px 28px -10px rgba(14, 32, 36, 0.5); }

/* Misc */
.bk-muted { color: var(--muted); font-size: 18px; margin-bottom: 28px; }
.mt-s { margin-top: 36px; }
.bk-vault { padding: 72px 64px; }
.bk-vault-head { margin-bottom: 36px; }
.bk-vault-grid { grid-template-columns: repeat(4, 1fr); }
.bk-vault .vault-item h3 { margin-top: 0; }
.bk-link { color: var(--on-brand); font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.bk-btn-white { margin: 8px 0 4px; }
.apply-copy .btn { margin-bottom: 4px; }

/* Footer */
.bk-footer-links { align-self: center; }
.bk-fine { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }

/* Sticky booking bar */
.book-bar {
  position: fixed; left: 50%; bottom: 18px; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 8px 8px 8px 22px; border-radius: 999px;
  background: rgba(21, 48, 53, 0.94); color: #ecf7f9; font-size: 14px;
  box-shadow: 0 20px 40px -16px rgba(14, 32, 36, 0.6);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .35s ease, opacity .35s ease;
}
.book-bar b { color: #fff; font-weight: 600; }
.book-bar .btn { background: #fff; color: var(--blue-deep); box-shadow: none; white-space: nowrap; }
.book-bar.show { transform: translate(-50%, 0); opacity: 1; }

/* Responsive */
@media (max-width: 980px) {
  .bk-hero-grid, .bk-process { grid-template-columns: 1fr; gap: 40px; }
  .bk-process-head { position: static; }
  .call-card { max-width: 520px; }
  .glance { grid-template-columns: repeat(3, 1fr); }
  .glance li:nth-child(3) { border-right: 0; }
  .glance li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .bk-vault-grid { grid-template-columns: repeat(2, 1fr); }
  .bk-vault { padding: 56px 36px; }
}
@media (max-width: 760px) {
  .bk-hero { padding: 48px 0 32px; }
  .bk-hero .hero-ctas .btn { width: 100%; }
  .call-card { padding: 24px 20px 20px; border-radius: 22px; }
  .glance { grid-template-columns: repeat(2, 1fr); }
  .glance li { padding: 16px 14px; }
  .glance li:nth-child(3) { border-right: 1px solid var(--line); }
  .glance li:nth-child(2n) { border-right: 0; }
  .glance li:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .bk-timeline .tl h3 { font-size: 22px; }
  .bk-timeline .tl-card { padding: 22px 18px; }
  .mid-cta { padding: 20px 18px; }
  .mid-cta .btn { width: 100%; }
  .bk-vault { padding: 48px 20px; }
  .bk-vault-grid { grid-template-columns: 1fr; }
  .book-bar { left: 12px; right: 12px; bottom: 12px; justify-content: space-between; gap: 10px; padding-left: 16px; transform: translateY(140%); }
  .book-bar.show { transform: none; }
  .book-bar-text { font-size: 13px; line-height: 1.3; }
  .bk .footer { padding-bottom: 96px; }
  .bk-footer-links { gap: 10px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .book-bar, .more summary::after { transition: none; }
}
#process, #faq, #message { scroll-margin-top: 80px; }
