/* Shared by the Rates and About pages (Figma 220:11 / 221:6 and 223:4 / 224:6):
   breadcrumb row, the split closing section, the phone booking dock. */

.page-rates, .page-about { --ra-coral-text: #c2331f; --ra-muted: #5a5f78; --ra-line: #d9dbe8; --ra-light: #ebecf5; }
/* Inner-page header is the deeper navy in the Figma; the lighter navy is the breadcrumb row. */

/* ---------- breadcrumb ---------- */
.ra-crumb { background: var(--dark); font-size: 14px; line-height: 20px; letter-spacing: .02em; }
.ra-crumb ol { display: flex; flex-wrap: wrap; padding-block: 14px; }
.ra-crumb li + li::before { content: "/"; margin-inline: .85em; }
.ra-crumb a { display: inline-block; }
.ra-nb { white-space: nowrap; }
.ra-crumb a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- section headings on these pages ---------- */
.ra-h1 { font-size: clamp(44px, calc(36.57px + 1.905vw), 64px); line-height: .9; }
.ra-h2 { font-size: clamp(40px, calc(28.1px + 3.048vw), 72px); line-height: .92; }

/* ---------- closing: copy left, photo right ---------- */
.ra-close { display: grid; grid-template-columns: minmax(0, 1fr) calc(50% - var(--ra-x, 120px)); min-height: 600px; background: var(--deep); }
.ra-close__text { align-self: center; padding: 48px 40px 48px max(var(--pad), calc((100vw - 1280px) / 2)); }
.ra-close__text h2 { max-width: 600px; font-size: clamp(44px, calc(30.63px + 3.429vw), 80px); }
.ra-close__text p { max-width: 560px; margin-top: 20px; font-size: clamp(16px, 1.25vw, 18px); }
.ra-close .btns { gap: 12px; margin-top: 32px; }
.ra-close .btns .btn { width: 280px; }
.ra-close__photo { position: relative; overflow: hidden; }
.ra-close__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--ra-pos, 50% 50%); }

/* ---------- phone booking dock (phones only) ---------- */
.ra-dock { display: none; }
@keyframes ra-up { from { transform: translateY(100%); } }
.ra-opt { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; column-gap: 16px; min-height: 72px; margin-top: 10px; padding: 10px 16px; border: 1px solid var(--ra-line); cursor: pointer; }
.ra-opt:first-of-type { margin-top: 12px; }
.ra-opt:has(input:checked) { border-color: var(--deep); box-shadow: inset 0 0 0 1px var(--deep); }
.ra-opt:has(input:focus-visible) { outline: 3px solid var(--deep); outline-offset: 2px; }
.ra-opt input { width: 22px; height: 22px; margin: 0; accent-color: var(--deep); }
.ra-opt input:focus-visible { outline: 0; box-shadow: none; }
.ra-opt b { display: block; font: 600 17px/1.45 var(--body); color: var(--deep); }
.ra-opt__meta { display: block; font-size: 14px; line-height: 1.45; color: var(--ra-muted); }

@media (max-width: 1023px) {
  /* 44px tap target without changing the row's height */
  .ra-crumb a { min-width: 44px; padding-block: 12px; margin: -12px -8px -12px 0; }
  /* inline phone and email links: taller tap area, same line height */
  main p a.u { padding-block: 11px; }
  .ra-close { min-height: 480px; }
  .ra-close .btns .btn { width: 100%; max-width: 280px; }
}

@media (max-width: 767px) {
  .page-rates main .wrap, .page-about main .wrap { padding-inline: 24px; }
  .ra-crumb { background: var(--deep); font-size: 12px; line-height: 17px; letter-spacing: 0; }
  .ra-crumb ol { padding-block: 24px 0; }
  .ra-crumb li + li::before { margin-inline: .6em; }
  .ra-crumb a { padding: 14px 0 13px; margin: -14px -12px -13px 0; }

  .ra-close { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ra-close__photo { order: -1; height: 280px; }
  .ra-close__photo img { object-position: var(--ra-pos-phone, 50% 50%); }
  .ra-close__text { padding: 36px 24px 56px; }
  .ra-close__text h2 { line-height: .92; }
  .ra-close__text p { margin-top: 14px; }
  .ra-close .btns { flex-direction: column; gap: 12px; margin-top: 23px; }
  .ra-close .btns .btn { flex: none; width: 100%; max-width: none; font-size: 14px; }

  /* The dock replaces the site-wide Call now / Request a booking bar on these pages. */
  .page-rates, .page-about { --bar: calc(77px + env(safe-area-inset-bottom)); }
  .page-rates .bar, .page-about .bar { display: none; }
  .ra-dock { position: fixed; inset: auto 0 0 0; z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr) 52px 102px; align-items: center; column-gap: 8px; padding: 11px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--dark); border-top: 1px solid #fff; }
  .ra-dock__trip { display: grid; grid-template-columns: minmax(0, 1fr) 16px; align-items: center; min-height: 52px; padding-right: 12px; text-align: left; }
  .ra-dock__trip b { display: block; font: 800 22px/1 var(--display); letter-spacing: .01em; text-transform: uppercase; }
  .ra-dock__meta { display: block; margin-top: 2px; font-size: 13px; line-height: 19px; white-space: nowrap; }
  .ra-dock__trip img { width: 16px; height: 10px; }
  .ra-dock__call { display: grid; place-items: center; width: 52px; height: 52px; border: 1.5px solid #fff; }
  .ra-dock__call img { width: 20px; height: 20px; }
  .ra-dock__book { display: grid; place-items: center; height: 52px; background: var(--action-fill); color: #fff; font: 500 14px/1.45 var(--body); letter-spacing: .08em; text-transform: uppercase; }
}
