/* Customer handbook: compact navigation, real screenshots and readable steps. */
html { scrollbar-gutter: stable; }
.guide-main, .guide-header > div, .guide-footer { min-width: 0; }
.guide-nav { flex-wrap: wrap; overflow: visible; }
.guide-nav a { min-height: 42px; display: flex; align-items: center; justify-content: center; }
.guide-main img { max-width: 100%; }
.guide-page-title { padding: 42px 0 22px; max-width: 850px; }
.guide-page-title h1 { font-size: clamp(29px, 3.2vw, 39px); }
.guide-page-title p { margin-bottom: 0; }
.guide-jump { padding-bottom: 7px; }
.guide-jump a:hover { border-color: #8bafdc; background: #edf5ff; }
.guide-paper { padding: 32px; }
.guide-paper > p, .guide-steps p { max-width: 85ch; }
.guide-steps li { padding-left: 48px; }
.guide-steps li::before { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #d6e5f7; background: #f2f7fe; border-radius: 10px; }
.guide-steps h3 { min-height: 31px; display: flex; align-items: center; }
.guide-prep { border: 1px solid #e2eaf4; padding: 19px 22px; }
.guide-price-row { gap: 20px; }
.guide-price-row > span { flex: 1 1 40%; }
.guide-price-row strong { flex: 1 1 55%; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.guide-price-row small { font-size: 12px; }
.guide-footer { max-width: 1180px; padding: 32px 32px 45px; }

/* All four destinations appear before the longer preparation checklist. */
.guide-home-hero { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; padding: 40px 0 28px; }
.guide-home-hero h1 { font-size: clamp(30px, 3.6vw, 44px); margin: 13px 0 16px; line-height: 1.32; }
.guide-home-hero p { margin: 0; font-size: 15px; }
.guide-home-hero .guide-hero-actions { max-width: 255px; margin: 0; display: grid; grid-template-columns: 1fr; gap: 9px; }
.guide-home-hero .guide-copy-status:empty { display: none; }
.guide-card-grid { gap: 16px; }
.guide-card { padding: 25px; border-radius: 18px; box-shadow: 0 5px 18px #23457004; }
.guide-card-top { display: flex; justify-content: space-between; align-items: center; }
.guide-card-icon { flex: 0 0 58px; width: 58px; height: 58px; border-radius: 17px; background: #eaf3ff; color: #2865bc; display: grid; place-items: center; }
.guide-card-icon svg { width: 34px; height: 34px; }
.guide-card-order .guide-card-icon { background: #e7f5f4; color: #25837a; }
.guide-card-price .guide-card-icon { background: #f1edfc; color: #7356b8; }
.guide-card-care .guide-card-icon { background: #fff3df; color: #ad7924; }
.guide-card-number { font-size: 12px; letter-spacing: 1px; color: #7b8da3; }
.guide-card h3 { font-size: 21px; margin: 17px 0 9px; }
.guide-card p { font-size: 14px; line-height: 1.75; margin: 0 0 21px; }
.guide-card b { display: flex; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 15px; }
.guide-home-journey { margin: 26px 0; padding: 23px 26px; background: #edf3fa; box-shadow: none; border-color: #e0e9f4; border-radius: 16px; }
.guide-home-journey > span { color: #556d88; font-size: 13px; letter-spacing: 0; }
.guide-home-journey ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 15px; }
.guide-home-journey li { border: 0; padding: 0; gap: 12px; align-items: flex-start; }
.guide-home-journey b { width: 30px; height: 30px; font-size: 12px; }
.guide-home-journey li div { font-size: 14px; }
.guide-home-journey small { font-size: 12px; line-height: 1.7; }
@media (min-width: 1100px) { .guide-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Screenshots are never cropped; explanations sit beside the actual controls. */
.guide-visual-step { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(220px, .8fr); align-items: start; gap: 28px; margin: 24px 0 30px; }
.guide-shot { margin: 0; border: 1px solid #d8e3f0; border-radius: 13px; overflow: hidden; background: #f7fafe; min-width: 0; }
.guide-shot-heading { padding: 14px 17px; border-bottom: 1px solid #dce6f2; background: #edf4fd; }
.guide-shot-heading span { display: block; color: #4b749f; font-size: 10px; font-weight: 650; letter-spacing: .5px; }
.guide-shot-heading strong { font-size: 14px; display: block; margin-top: 2px; }
.guide-shot-open { display: block; position: relative; width: 100%; background: #fff; border: 0; padding: 12px 12px 48px; text-align: center; cursor: zoom-in; color: #2468c8; }
.guide-shot-open img { display: block; width: 100%; height: auto; border: 1px solid #e5ebf2; }
.guide-shot-open:hover { background: #f2f7fd; }
.guide-shot-open:focus-visible { outline-offset: -4px; }
.guide-shot-zoom { position: absolute; bottom: 10px; right: 14px; font-size: 12px; font-weight: 650; background: #edf4fc; padding: 3px 11px; border-radius: 6px; }
.guide-shot figcaption { padding: 15px 17px; border-top: 1px solid #dce6f2; }
.guide-shot figcaption p { font-size: 13px; color: #3e5873; line-height: 1.75; margin: 0 0 9px; }
.guide-shot figcaption small { display: block; font-size: 11px; line-height: 1.7; color: #60748a; }
.guide-screen-notes { padding: 18px 0 0; }
.guide-screen-notes ol { padding: 0; margin: 14px 0 0; list-style: none; counter-reset: screen; }
.guide-screen-notes li { position: relative; padding: 0 0 22px 37px; font-size: 15px; line-height: 1.8; counter-increment: screen; }
.guide-screen-notes li::before { content: counter(screen); position: absolute; top: 1px; left: 0; width: 25px; height: 25px; border-radius: 50%; color: white; background: #3172c4; text-align: center; font-size: 12px; line-height: 25px; }
.guide-shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; margin: 26px 0 32px; }

/* A visual split explains who receives each payment without inventing a quote. */
.guide-payment-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 26px; }
.guide-payment-intro { grid-column: 1 / -1; padding: 6px 0 0; }
.guide-payment-intro h2 { margin: 7px 0; font-size: 26px; }
.guide-payment-intro p { font-size: 14px; margin: 0; }
.guide-payment-branch { background: #fff; border: 1px solid #d9e5f3; border-top: 4px solid #2d70c6; border-radius: 15px; padding: 25px; display: flex; gap: 18px; }
.guide-payment-branch:last-child { border-top-color: #258b80; }
.guide-payment-branch:last-child .guide-card-icon { color: #258b80; background: #e7f5f2; }
.guide-payment-branch > div { min-width: 0; }
.guide-payment-label { color: #697e95; font-size: 12px; }
.guide-payment-branch h3 { font-size: 20px; margin: 7px 0 10px; }
.guide-payment-branch strong { color: #315d94; font-size: 15px; }
.guide-payment-branch p { font-size: 13px; margin: 13px 0; }
.guide-payment-branch a { font-size: 13px; font-weight: 650; }

/* Native dialog supplies keyboard focus containment and Escape-to-close. */
.guide-image-dialog { width: min(1060px, calc(100% - 24px)); max-width: none; max-height: 92vh; max-height: 92dvh; padding: 0; border: 1px solid #c8d7ea; border-radius: 14px; color: #172b46; background: white; }
.guide-image-dialog[open] { display: flex; flex-direction: column; }
.guide-image-dialog::backdrop { background: #102641c7; }
.guide-image-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 20px; border-bottom: 1px solid #dce6f2; }
.guide-image-toolbar h2 { margin: 0; font-size: 17px; }
.guide-image-toolbar button { flex-shrink: 0; border: 1px solid #c7d8ed; border-radius: 7px; padding: 8px 13px; background: #eff5fd; color: #205fae; font-size: 14px; min-height: 44px; }
.guide-image-scroll { overflow: auto; min-height: 0; padding: 15px; background: #f4f7fb; }
.guide-image-scroll img { display: block; width: 100%; min-width: 660px; height: auto; background: white; }
.guide-image-help { font-size: 12px; padding: 10px 18px; margin: 0; }

@media (max-width: 900px) {
  .guide-home-journey ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .guide-visual-step { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .guide-screen-notes { padding: 8px 0 0; }
  .guide-screen-notes li { padding-bottom: 15px; }
  .guide-payment-branch { flex-direction: column; padding: 22px; }
  .guide-price-columns { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 130px; }
  .guide-header > div { padding: 15px 16px; }
  .guide-main { padding: 0 16px 35px; }
  .guide-nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; padding: 7px 12px; overflow: visible; }
  .guide-nav a { grid-column: span 2; padding: 5px 4px; font-size: 12px; white-space: normal; }
  .guide-nav a:nth-child(n+4) { grid-column: span 3; }
  .guide-brand span { display: none; }
  .guide-header-contact { font-size: 12px; }
  .guide-home-hero { grid-template-columns: 1fr; padding: 28px 0 23px; gap: 18px; }
  .guide-home-hero h1 { font-size: 31px; margin: 10px 0 14px; }
  .guide-home-hero p { font-size: 14px; }
  .guide-home-hero .guide-hero-actions { max-width: none; display: flex; flex-wrap: wrap; gap: 8px; }
  .guide-hero-actions .guide-button { padding: 10px 12px; font-size: 12px; }
  .guide-hero-actions .guide-copy-status { width: 100%; }
  .guide-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .guide-card { padding: 17px 14px; border-radius: 14px; }
  .guide-card-icon { width: 43px; height: 43px; flex-basis: 43px; border-radius: 12px; }
  .guide-card-icon svg { width: 28px; height: 28px; }
  .guide-card h3 { font-size: 17px; margin: 15px 0 9px; line-height: 1.55; }
  .guide-card p { font-size: 12px; line-height: 1.8; margin-bottom: 16px; }
  .guide-card b { font-size: 12px; padding-top: 12px; }
  .guide-card-number { font-size: 10px; }
  .guide-home-journey { padding: 20px; }
  .guide-home-journey ol { grid-template-columns: 1fr; gap: 14px; }
  .guide-home-journey small { margin-top: 0; }
  .guide-page-title { padding: 28px 0 20px; }
  .guide-jump { gap: 6px; }
  .guide-jump a { padding: 7px 11px; }
  .guide-paper { padding: 21px 18px; border-radius: 13px; }
  .guide-paper h2 { font-size: 21px; }
  .guide-steps li { padding-left: 39px; }
  .guide-steps h3 { font-size: 16px; }
  .guide-steps p, .guide-paper p { font-size: 14px; }
  .guide-prep { padding: 16px; }
  .guide-shot-grid, .guide-payment-map { grid-template-columns: 1fr; }
  .guide-shot-heading { padding: 12px; }
  .guide-shot figcaption { padding: 13px; }
  .guide-shot-open { padding: 7px 7px 46px; }
  .guide-shot figcaption p { font-size: 13px; }
  .guide-payment-branch { flex-direction: row; padding: 19px 16px; gap: 13px; }
  .guide-payment-branch h3 { font-size: 18px; }
  .guide-payment-branch strong { font-size: 14px; }
  .guide-price-row { gap: 12px; }
  .guide-footer { margin: 0 16px; padding: 25px 0 35px; }
  .guide-image-toolbar { padding: 12px; }
  .guide-image-toolbar h2 { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .guide-card:hover { transform: none; } }
@media print { .guide-image-dialog, .guide-shot-zoom { display: none !important; } .guide-shot-open { padding: 10px; } .guide-shot { break-inside: avoid; } }
