/* Page-level layout for the Rafiki site. Component styles come from
   design-system/components/bundle.css; colours, type and spacing from tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--navy); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--space-5)); margin-inline: auto; padding-inline: var(--space-5); }
@media (max-width: 560px) { .container { padding-inline: var(--space-4); } }

.skip-link { position: absolute; left: var(--space-4); top: -60px; z-index: 50; padding: var(--space-2) var(--space-4); background: var(--navy); color: var(--on-navy); border-radius: var(--radius-full); font-family: var(--font-display); font-weight: 600; }
.skip-link:focus { top: var(--space-3); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__actions { display: flex; align-items: center; gap: var(--space-2); }
.site-header__menu { display: none; }
@media (max-width: 1080px) { .site-header__call { display: none; } }
@media (max-width: 960px) { .site-header__menu { display: grid; } .rk-nav__links { display: none; } }
.rk-nav__link { white-space: nowrap; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--surface); }
.mobile-nav ul { list-style: none; margin: 0; padding-block: var(--space-3) var(--space-5); display: grid; }
.mobile-nav a { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) 0; font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav a[aria-current="page"] { color: var(--copper-text); }
@media (min-width: 961px) { .mobile-nav { display: none; } }

/* ---------- sections ---------- */
.section { padding-block: var(--space-9); }
.section--alt { background: var(--surface-alt); }
.section--tight { padding-block: var(--space-8); }
.section > .container > .rk-section-head { margin-bottom: var(--space-7); }
@media (max-width: 720px) { .section { padding-block: var(--space-8); } }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7); align-items: center; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-2 { grid-template-columns: 1fr; gap: var(--space-6); } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } }
.grid-2--top { align-items: start; }

/* Buying process intro follows the steps while scrolling, but only when it sits in its own
   column and fits on screen; stacked on smaller screens it would ride over the steps. */
@media (min-width: 901px) and (min-height: 720px) { .process-intro { position: sticky; top: 112px; } }

/* Property cards: equal-height cards whose price and actions line up across a row. */
.property-grid { column-gap: var(--space-6); row-gap: var(--space-8); }
.property-grid .rk-pcard { height: 100%; }
.rk-pcard__body { flex: 1; align-content: start; }
.rk-pcard__foot { flex-direction: column; align-items: stretch; gap: var(--space-3); margin-top: auto; }
.rk-pcard__actions { display: grid; grid-template-columns: 1fr 1fr 36px; gap: var(--space-2); }
.rk-pcard__actions .rk-btn { width: 100%; min-width: 0; padding-inline: var(--space-2); }
.rk-pcard__actions .rk-pcard__wa { position: relative; gap: 0; padding: 0; color: #1f7a4a; border-color: #1f7a4a; animation: wa-pop 3s ease-out infinite; }
.rk-pcard__actions .rk-pcard__wa::after { content: ""; position: absolute; inset: -1px; border: 2px solid rgba(31, 122, 74, .55); border-radius: inherit; opacity: 0; pointer-events: none; animation: wa-ring 3s ease-out infinite; }
.rk-pcard__actions .rk-pcard__wa:hover, .rk-pcard__actions .rk-pcard__wa:focus-visible { background: #1f7a4a; color: #fff; }
.rk-pcard__actions .rk-pcard__wa:hover, .rk-pcard__actions .rk-pcard__wa:focus-visible,
.rk-pcard__actions .rk-pcard__wa:hover::after, .rk-pcard__actions .rk-pcard__wa:focus-visible::after { animation-play-state: paused; }
/* A short bounce and a spreading green ring every few seconds draws the eye without constant motion.
   Only transform and opacity animate, so the browser runs it on the compositor. */
@keyframes wa-pop {
  0%, 60%, 92%, 100% { transform: scale(1); }
  68% { transform: scale(1.18); }
  76% { transform: scale(.94); }
  84% { transform: scale(1.06); }
}
@keyframes wa-ring {
  0%, 59% { transform: scale(1); opacity: 0; }
  60% { transform: scale(1); opacity: 1; }
  92%, 100% { transform: scale(1.55); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .rk-pcard__actions .rk-pcard__wa, .rk-pcard__actions .rk-pcard__wa::after { animation: none; } }

.lead { margin: 0; font-size: 18px; line-height: 30px; color: var(--ink-muted); max-width: var(--measure); }
.muted { color: var(--ink-muted); }
.stack { display: grid; gap: var(--space-4); }
.stack p { margin: 0; }
.rounded-media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-xl); background: var(--navy-50); display: block; }

/* ---------- home hero ---------- */
/* Full-bleed slider behind boxed text: images span the viewport, copy stays in .container. */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(760px, 88vh); background: var(--navy-900); }
.hero-slider { position: absolute; inset: 0; z-index: -1; }
.hero-slider::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 32, 91, .9) 0%, rgba(0, 32, 91, .7) 45%, rgba(0, 32, 91, .2) 100%); pointer-events: none; }
.hero-slider__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1s ease, transform 7s ease-out; }
.hero-slider__img.is-active { opacity: 1; transform: scale(1); }
.hero-slider__controls { position: absolute; left: 0; right: 0; bottom: var(--space-6); z-index: 2; display: flex; align-items: center; gap: var(--space-3); }
.hero-slider__arrow { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, .4); border-radius: var(--radius-full); background: rgba(0, 32, 91, .35); color: var(--on-navy-900); cursor: pointer; transition: background .15s, border-color .15s; }
.hero-slider__arrow:hover { background: rgba(0, 32, 91, .7); border-color: var(--on-navy-900); }
.hero-slider__dots { display: flex; gap: var(--space-2); }
.hero-slider__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: var(--radius-full); background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .3s, background .3s; }
.hero-slider__dot.is-active { width: 28px; background: var(--copper-light); }
.hero-slider__arrow:focus-visible, .hero-slider__dot:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 3px; }
.hero__content { position: relative; z-index: 1; padding-block: var(--space-9) calc(var(--space-9) + 40px); }
.hero__text { max-width: 720px; }
.hero__text .rk-eyebrow { color: var(--copper-light); }
.hero__text .lead { color: rgba(255, 255, 255, .86); }
.hero__title { margin: var(--space-3) 0 var(--space-5); font-family: var(--font-display); font-size: 64px; line-height: 68px; font-weight: 500; letter-spacing: -0.03em; color: var(--on-navy-900); text-wrap: balance; }
.hero__title em { font-family: var(--font-accent); font-weight: 500; font-size: 1.1em; color: var(--copper-light); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
@media (max-width: 900px) { .hero-slider::after { background: rgba(0, 32, 91, .72); } }
@media (max-width: 720px) { .hero__title { font-size: 40px; line-height: 46px; } .hero__content { padding-block: var(--space-8) calc(var(--space-8) + 40px); } }
@media (prefers-reduced-motion: reduce) { .hero-slider__img, .hero-slider__dot { transition: none; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-block: var(--space-7) var(--space-7); border-bottom: 1px solid var(--line); background: var(--surface-alt); }
.page-hero h1 { margin: var(--space-3) 0 0; font-family: var(--font-display); font-size: 48px; line-height: 56px; font-weight: 500; letter-spacing: -0.025em; text-wrap: balance; }
.page-hero .lead { margin-top: var(--space-4); }
@media (max-width: 720px) { .page-hero h1 { font-size: 32px; line-height: 40px; } }

.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-2); color: var(--line-strong); }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }

/* ---------- checklists, steps, process ---------- */
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin: var(--space-5) 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: var(--space-2); align-items: center; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--ink); }
.checklist .rk-icon { color: var(--copper); }
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); counter-reset: step; }
.step { padding: var(--space-6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step__num { font-family: var(--font-accent); font-style: italic; font-size: 44px; line-height: 1; color: var(--copper-text); }
.step h3 { margin: var(--space-4) 0 var(--space-2); font-family: var(--font-display); font-size: 18px; line-height: 26px; font-weight: 600; }
.step p { margin: 0; color: var(--ink-muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.process { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; counter-reset: proc; }
.process > li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); counter-increment: proc; }
.process > li::before { content: counter(proc); display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-full); background: var(--navy); color: var(--on-navy); font-family: var(--font-display); font-weight: 700; }
.process h3 { margin: 0 0 var(--space-2); font-family: var(--font-display); font-size: 18px; line-height: 26px; font-weight: 600; }
.process dl { margin: 0; display: grid; gap: var(--space-1); color: var(--ink-muted); }
.process dt { display: inline; font-weight: 700; color: var(--ink); }
.process dt::after { content: ": "; }
.process dd { display: inline; margin: 0; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.stats--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } .stats--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 340px) { .stats--pair { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .rk-stat { min-height: 0; gap: var(--space-5); padding: var(--space-5); } .rk-stat__value { font-size: 40px; line-height: 44px; } }

/* ---------- listing page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.filters a { padding: 8px var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-full); font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--ink-muted); text-decoration: none; }
.filters a:hover { border-color: var(--ink); color: var(--ink); }
.filters a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.empty { padding: var(--space-8) var(--space-5); text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); color: var(--ink-muted); }

/* ---------- property detail ---------- */
.prop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-5); }
.prop-head h1 { margin: var(--space-3) 0 var(--space-2); }
.prop-head__price { margin: 0; font-family: var(--font-display); font-size: 32px; line-height: 40px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.prop-head__badges { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-6); aspect-ratio: 16 / 7; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); display: block; background: var(--navy-50); }
.gallery img:first-child { grid-row: span 2; }
.gallery--single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; grid-template-rows: none; aspect-ratio: auto; } .gallery img { aspect-ratio: 4 / 3; } .gallery img:first-child { grid-row: auto; } .gallery img:nth-child(n + 2) { display: none; } }
.thumbs { display: flex; gap: var(--space-2); overflow-x: auto; margin-top: var(--space-3); padding-bottom: var(--space-2); }
.thumbs img { width: 120px; height: 90px; flex: none; object-fit: cover; border-radius: var(--radius-sm); }

.prop-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--space-7); align-items: start; margin-top: var(--space-7); }
.prop-aside { position: sticky; top: 96px; display: grid; gap: var(--space-5); }
@media (max-width: 1000px) { .prop-body { grid-template-columns: 1fr; } .prop-aside { position: static; } }
.panel { padding: var(--space-6); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.panel + .panel { margin-top: var(--space-5); }
.panel h2 { margin: 0 0 var(--space-4); font-family: var(--font-display); font-size: 22px; line-height: 30px; font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-6); margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-muted); }
.facts dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.features { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.features li { display: inline-flex; align-items: center; gap: 6px; padding: 6px var(--space-3); border-radius: var(--radius-full); background: var(--copper-50); color: var(--copper-text); font-family: var(--font-display); font-size: 14px; font-weight: 600; }
.notice { padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--navy-50); color: var(--ink); }
.map-frame { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: var(--radius-lg); display: block; background: var(--navy-50); }

/* ---------- prose (archived HTML) ---------- */
.prose { max-width: 760px; font-size: 17px; line-height: 29px; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { font-family: var(--font-display); color: var(--ink); letter-spacing: -0.01em; margin: 1.8em 0 0.6em; }
.prose h1, .prose h2 { font-size: 26px; line-height: 34px; font-weight: 600; }
.prose h3 { font-size: 21px; line-height: 30px; font-weight: 600; }
.prose h4, .prose h5, .prose h6 { font-size: 18px; line-height: 26px; font-weight: 600; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--copper); }
.prose img { display: block; width: 100%; height: auto; margin: var(--space-5) 0; border-radius: var(--radius-lg); background: var(--navy-50); }
.prose a { color: var(--navy); text-underline-offset: 3px; }
.prose blockquote { padding-left: var(--space-5); border-left: 3px solid var(--line); color: var(--ink-muted); }

/* ---------- blog ---------- */
.post-card { display: grid; gap: var(--space-3); text-decoration: none; color: inherit; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); background: var(--navy-50); transition: transform .5s; }
.post-card:hover img { transform: scale(1.03); }
.post-card__media { overflow: hidden; border-radius: var(--radius-lg); }
.post-card h3 { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink); }
.post-card:hover h3 { color: var(--navy); }
.post-card p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 24px; }
.post-meta { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; font-size: 14px; color: var(--ink-muted); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-6) 0 0; padding: 0; list-style: none; }
.tags a { display: inline-block; padding: 4px var(--space-3); border-radius: var(--radius-full); background: var(--surface-alt); border: 1px solid var(--line); font-size: 13px; color: var(--ink-muted); text-decoration: none; }
.tags a:hover { color: var(--navy); border-color: var(--navy); }
.article-hero { width: 100%; max-width: 980px; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius-xl); display: block; margin: var(--space-6) 0 var(--space-7); background: var(--navy-50); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-7); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: var(--space-4); margin: var(--space-6) 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--space-3); align-items: center; }
.contact-list .chip { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-full); background: var(--navy-50); color: var(--navy); }
.contact-list small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-display); font-weight: 600; color: var(--ink-muted); }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--navy); }

/* ---------- footer + floating WhatsApp ---------- */
/* Full-width navy band; the columns stay boxed in the inner .container. */
.site-footer { display: block; margin-top: var(--space-9); padding-inline: 0; border-radius: 0; }
.site-footer__inner { position: relative; z-index: 1; display: grid; gap: var(--space-8); }
.rk-footer__col li a { overflow-wrap: anywhere; }
.wa-float { position: fixed; right: var(--space-5); bottom: var(--space-5); z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-full); background: #1f7a4a; color: #fff; box-shadow: var(--shadow-md); transition: transform .15s; }
.wa-float:hover { transform: translateY(-2px); }
@media (max-width: 560px) { .wa-float { right: var(--space-4); bottom: var(--space-4); width: 52px; height: 52px; } }

/* ---------- enquiry form extras (PHP site) ---------- */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rk-form__alt { margin: 0; font-size: 14px; line-height: 22px; text-align: center; color: var(--on-navy-900-muted); }
.rk-form__alt a { color: var(--copper-light); font-weight: 600; }

/* Gallery lightbox */
[data-lightbox] img[data-lb] { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 14, 28, .92); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 999px; width: 44px; height: 44px; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; margin: 0; }
.lightbox--single .lightbox__nav, .lightbox--single .lightbox__count { display: none; }
@media (max-width: 720px) { .lightbox { padding: 56px 8px; } }

/* Sidebar: available projects */
.aside-projects { display: grid; gap: var(--space-3); }
.aside-projects h2 { margin-bottom: var(--space-1); }
.aside-project { display: flex; gap: var(--space-3); align-items: center; text-decoration: none; color: inherit; }
.aside-project img { width: 84px; height: 64px; flex: none; object-fit: cover; border-radius: var(--radius-sm); background: var(--navy-50); }
.aside-project span { display: grid; gap: 2px; min-width: 0; }
.aside-project strong { font-size: 15px; line-height: 20px; }
.aside-project small { font-size: 13px; color: var(--muted, #667); }
.aside-project:hover strong { text-decoration: underline; }
.aside-projects__all { font-size: 14px; font-weight: 600; }

/* Top bar: contact details and social icons above the sticky header. */
.topbar { background: var(--navy-900); color: var(--on-navy-900); font-size: 13px; line-height: 18px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 40px; }
.topbar__info { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-5); margin: 0; padding: 0; list-style: none; }
.topbar__info li { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar__info a:hover, .topbar__info a:focus-visible { text-decoration: underline; }
.topbar__social { display: flex; gap: var(--space-2); }
.topbar__social a { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(255, 255, 255, .36); border-radius: var(--radius-full); }
.topbar__social a:hover, .topbar__social a:focus-visible { background: rgba(255, 255, 255, .16); }
@media (max-width: 760px) { .topbar__info .topbar__office { display: none; } }
@media (max-width: 520px) { .topbar__info li:nth-child(2) { display: none; } .topbar__inner { justify-content: space-between; } }

.rk-footer__credit { color: var(--on-navy-900-muted); text-align: center; }
@media (max-width: 760px) { .rk-footer__credit { order: 3; width: 100%; } }
.rk-footer__credit a { color: var(--on-navy-900); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- small-screen tightening ---------- */
@media (max-width: 560px) {
  .panel { padding: var(--space-5); }
  .process > li { grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-3); padding: var(--space-4); }
  .step { padding: var(--space-5); }
  .rk-form { padding: var(--space-5); }
  .rk-footer__top > .rk-footer__col:last-child { grid-column: 1 / -1; }
  .lead { font-size: 17px; line-height: 28px; }
  .prop-head__price { font-size: 28px; line-height: 36px; }
}
