/* Additions on top of the Cabvia (Framer) styles for Victoria Falls Transfers. */

/* Menu: closed and open header variants are swapped by site.js */
.vft-off { display: none !important; }
[data-vft-open] [data-framer-name="Navigation links"] { animation: vft-menu-in .32s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes vft-menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { [data-vft-open] [data-framer-name="Navigation links"] { animation: none; } }

/* Our logo in Cabvia's logo slots (Cabvia's mark is a wide wordmark; ours is a badge + wordmark) */
img.vft-header-logo { object-fit: contain !important; object-position: left center !important; }
img.vft-cover-logo { object-fit: contain !important; object-position: left bottom !important; }
img.vft-footer-logo { object-fit: contain !important; object-position: left center !important; }

/* The quote form modal stays closed until asked for */
[data-vft-modal][hidden] { display: none !important; }
.vft-modal-card:focus-visible { outline: none; }
.vft-inline-form { width: 100%; }
.vft-inline-form > section { padding-top: 0 !important; }

/* Form states */
.framer-form-input[aria-invalid="true"], .framer-form-boolean-input[aria-invalid="true"] { outline: 2px solid #9b2c1f; outline-offset: 1px; }
.vft-form-status { padding: 14px 16px; border-radius: 10px; background: #f8f5f3; color: #15304a; }
.vft-form-status.vft-form-error { background: #fbeceb; color: #7d1f14; }
.vft-form-status:focus { outline: none; }
button[aria-busy="true"] { opacity: .7; cursor: progress; }

/* FAQ answers (closed by default) */
[data-vft-faq] + [hidden] { display: none !important; }
[data-vft-faq] { cursor: pointer; text-align: left; width: 100%; }

/* Listing filters: empty result */
.vft-empty { width: 100%; padding: 24px 0; }
[data-vft-results] > a[hidden] { display: none !important; }

/* Rich text inside Framer text blocks (route pages, guides, policies) */
.vft-rich { display: flex; flex-direction: column; gap: 16px; }
.vft-rich h2.framer-text, .vft-rich h3.framer-text { margin-top: 16px; }
.vft-rich > :first-child { margin-top: 0; }
.vft-rich ul.vft-list { margin: 0; padding-left: 1.25em; display: flex; flex-direction: column; gap: 8px; list-style: disc; }
.vft-rich li.framer-text { display: list-item; }
.vft-rich table { width: 100%; border-collapse: collapse; font-family: "Barlow", sans-serif; font-size: 15px; color: #15304a; }
.vft-rich th, .vft-rich td { padding: 10px 8px; border-bottom: 1px solid #ddd3cf; text-align: left; vertical-align: top; }
.vft-rich th { font-weight: 600; }
.vft-rich .vfa-table-scroll { overflow-x: auto; width: 100%; }
a.vft-link, .vft-rich a { color: #5b3f36; text-decoration: underline; text-underline-offset: 3px; }
a.vft-link:hover, .vft-rich a:hover { color: #15304a; }
.vft-credit { margin-top: 8px; }

/* Photos still to come show the placeholder art, never stretched */
img[data-placeholder] { object-fit: cover; background: #efeceb; }

/* Story deck notes: decorative progress dots, not controls */
.cv-story-dot { pointer-events: none; }

/* Keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid #5b3f36;
  outline-offset: 3px;
}
[data-framer-name="Footer journey invitation"] a:focus-visible, [data-vft-open] a:focus-visible, [data-vft-open] button:focus-visible { outline-color: #ecdfd9; }

/* Header logo slot: Cabvia's slot is a 140x28 wordmark; ours needs more height to stay legible */
header a[data-framer-name="Site vector logo"] { height: 40px !important; width: 144px !important; }
