/* Additions on top of the ALTITUDE (Framer) styles for Victoria Falls Helicopters. */

:root {
  --alt-navy: #0c1d2e;
  --alt-navy-2: #15304a;
  --alt-sky: #3f7da0;
  --alt-sky-text: #7fb3d2;
  --alt-text: #d2deea;
  --alt-muted: #93a9bd;
  --alt-line: rgba(169, 198, 220, 0.16);
}
html { background: var(--alt-navy); }
[hidden] { display: none !important; }

.alt-sr {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.alt-skip {
  position: fixed; left: 12px; top: -60px; z-index: 1000; padding: 10px 14px; background: #fff; color: #0c1d2e;
  font: 600 13px/1 "Barlow", sans-serif; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.alt-skip:focus { top: 12px; }

/* Logo in header and footer */
.alt-logo { display: block; height: 40px; width: auto; }
.alt-logo-foot { height: 48px; }
@media (max-width: 809px) { .alt-logo { height: 34px; } .alt-logo-foot { height: 44px; } }
[data-framer-name="Brand"] { align-items: center; }

/* Photos placed in the template's empty image slots */
.alt-slot { position: relative; overflow: hidden; isolation: isolate; }
.alt-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: -1; }
.alt-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.alt-card-photo { transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
[data-framer-name="View card"]:hover .alt-card-photo { transform: scale(1.04); }
[data-framer-name="View card"] .alt-scrim { background: linear-gradient(180deg, rgba(9, 23, 37, .1) 0%, rgba(9, 23, 37, .55) 45%, rgba(9, 23, 37, .94) 100%); }
[data-framer-name="View card"] { min-height: 420px; justify-content: flex-end; }
.alt-hero-photo { object-position: center 40%; }
[data-framer-name="Aircraft hero"] .alt-scrim { background: linear-gradient(180deg, rgba(9, 23, 37, .55) 0%, rgba(9, 23, 37, .25) 35%, rgba(12, 29, 46, .92) 100%); }
[data-framer-name="Sky Image"] { overflow: hidden; }
[data-framer-name="Sky Image"] .alt-fill { z-index: 0; object-position: center 55%; }
.alt-slot img + .alt-scrim { z-index: -1; }

/* Hero: the scroll scene gets a little more scrim so the headline stays readable over the photo */
[data-framer-name="Dark Scrim"] { background: linear-gradient(180deg, rgba(9, 23, 37, .82) 0%, rgba(9, 23, 37, .55) 50%, rgba(9, 23, 37, .85) 100%) !important; }

/* Porthole: the template's globe slot shows a photo in a round window */
.alt-porthole { position: relative; width: 100%; height: 100%; margin: 0; display: flex; align-items: center; justify-content: center; }
.alt-porthole-ring {
  position: relative; width: min(88%, 520px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(169, 198, 220, .35), 0 0 0 14px rgba(169, 198, 220, .05), 0 0 0 15px rgba(169, 198, 220, .18), 0 40px 120px rgba(0, 0, 0, .45);
}
.alt-porthole-ring img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.alt-porthole-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 45%, transparent 55%, rgba(9, 23, 37, .55) 100%); pointer-events: none; }
.alt-porthole-b { opacity: 0; transition: opacity .6s cubic-bezier(.22, 1, .36, 1); }
.alt-porthole-tag {
  position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); display: flex; gap: 12px; align-items: center; white-space: nowrap;
  font: 500 10px/1 "Barlow", sans-serif; letter-spacing: .16em; color: var(--alt-text);
}
.alt-porthole-tag b { font-weight: 600; color: #fff; }
.alt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--alt-sky); box-shadow: 0 0 0 4px rgba(63, 125, 160, .3); }
@media (prefers-reduced-motion: reduce) { .alt-porthole-b, .alt-card-photo { transition: none; } }

/* Flight selector rows (home) */
[data-alt-flight] { cursor: pointer; }
[data-alt-flight][aria-pressed="true"] { background: rgba(63, 125, 160, .14); box-shadow: inset 2px 0 0 var(--alt-sky); }
[data-alt-flight]:hover { background: rgba(169, 198, 220, .06); }

/* Time-in-the-air bars (flight pages) */
.alt-bar-on { background: var(--alt-sky) !important; }
.alt-bar-off { background: rgba(169, 198, 220, .32) !important; }

/* Buttons where the template made only the label a link: the whole box is clickable */
[data-alt-whole-link] { position: relative; cursor: pointer; }
[data-alt-whole-link] a::after { content: ""; position: absolute; inset: 0; }
[data-alt-whole-link]:hover { filter: brightness(1.08); }

/* Footer bits */
.alt-sister p { margin: 0; font: 500 14px/1.45 "Barlow", sans-serif !important; }
.alt-sister a { color: #fff !important; }
.alt-footlink, .alt-legal { color: inherit; text-decoration: none; }
.alt-footlink:hover, .alt-legal:hover { text-decoration: underline; text-underline-offset: 3px; }
.alt-sister { gap: 10px !important; }

/* Notes added under lists */
.alt-note { max-width: 720px; margin: 48px 0 0; font: 400 15px/1.7 "Barlow", sans-serif; color: var(--alt-muted); }
.alt-note a { color: var(--alt-sky-text); text-underline-offset: 3px; }
.alt-credit { margin: 10px 0 0; font: 400 13px/1.5 "Barlow", sans-serif; color: var(--alt-muted); }
.alt-credit a { color: var(--alt-text); }

/* Rich text: flight write-ups, guides, policies */
.alt-prose { font-family: "Barlow", sans-serif; font-size: 17px; line-height: 1.7; color: var(--alt-text); }
.alt-prose > * + * { margin-top: 18px; }
.alt-prose p, .alt-prose ul, .alt-prose ol { margin: 0; }
.alt-prose * + p, .alt-prose * + ul { margin-top: 16px; }
.alt-prose h2 { margin: 44px 0 0; font: 400 clamp(26px, 2.6vw, 34px)/1.15 "Lora", serif; letter-spacing: -.01em; color: #fff; }
.alt-prose h2:first-child { margin-top: 0; }
.alt-prose ul { padding-left: 0; list-style: none; }
.alt-prose li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--alt-line); }
.alt-prose li:last-child { border-bottom: 1px solid var(--alt-line); }
.alt-prose li::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 1px; background: var(--alt-sky); }
.alt-prose a { color: var(--alt-sky-text); text-decoration: underline; text-underline-offset: 3px; }
.alt-prose a:hover { color: #fff; }
.alt-prose strong { color: #fff; font-weight: 600; }
.alt-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.alt-prose th, .alt-prose td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--alt-line); text-align: left; vertical-align: top; }
.alt-prose th { font: 600 11px/1.4 "Barlow", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--alt-muted); }
.alt-prose .vfa-table-scroll { overflow-x: auto; }
[data-framer-name="Flight information"] .alt-prose { margin-top: 8px; }

/* More guides */
.alt-related { margin-top: 64px; display: flex; flex-direction: column; }
.alt-eyebrow { margin: 0 0 16px; font: 500 11px/1 "Barlow", sans-serif; letter-spacing: .2em; color: var(--alt-muted); }
.alt-related a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--alt-line); color: #fff; text-decoration: none; font: 400 22px/1.25 "Lora", serif; }
.alt-related a:last-child { border-bottom: 1px solid var(--alt-line); }
.alt-related a:hover span:first-child { color: var(--alt-sky-text); }
.alt-rowlink { color: inherit; text-decoration: none; display: inline-flex; gap: 10px; }
.alt-rowlink:hover { color: var(--alt-sky-text); }

/* FAQ accordion (services layout) */
.alt-faq-q {
  all: unset; box-sizing: border-box; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer;
  font: inherit; color: inherit; letter-spacing: inherit; line-height: inherit; text-align: left;
  min-height: 44px; /* a comfortable tap target on phones */
}
.alt-faq-icon { position: relative; flex: none; width: 12px; height: 12px; }
.alt-faq-icon::before, .alt-faq-icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--alt-sky-text); transition: transform .3s ease; }
.alt-faq-icon::after { transform: rotate(90deg); }
.alt-faq-q[aria-expanded="true"] .alt-faq-icon::after { transform: rotate(0deg); }
.alt-faq-a { padding: 2px 0 16px 28px; font: 400 15px/1.7 "Barlow", sans-serif; color: var(--alt-muted); }
.alt-faq-a p { margin: 0; max-width: 60ch; }
.alt-faq-a a { color: var(--alt-sky-text); }
[data-framer-name="Question"] { flex-direction: column; align-items: stretch !important; height: auto !important; }

/* Mobile menu */
.alt-menu {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 20px 20px 32px;
  border: 0; background: #091725; color: #fff; overflow-y: auto; font-family: "Barlow", sans-serif;
}
.alt-menu[open] { display: flex; flex-direction: column; gap: 28px; animation: alt-menu-in .35s cubic-bezier(.22, 1, .36, 1); }
.alt-menu::backdrop { background: rgba(9, 23, 37, .7); }
@keyframes alt-menu-in { from { opacity: 0; transform: translateY(-8px); } }
.alt-menu-top { display: flex; justify-content: space-between; align-items: center; }
.alt-menu-logo img { display: block; height: 34px; width: auto; }
.alt-menu-close { all: unset; cursor: pointer; padding: 10px 14px; border: 1px solid var(--alt-line); font-size: 11px; font-weight: 600; letter-spacing: .18em; }
.alt-menu nav { display: flex; flex-direction: column; }
.alt-menu nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--alt-line); color: #fff; text-decoration: none; font: 400 30px/1.1 "Lora", serif; }
.alt-menu nav a small { font: 500 10px/1 "Barlow", sans-serif; letter-spacing: .16em; color: var(--alt-muted); width: 22px; }
.alt-menu nav a[aria-current="page"] span { color: var(--alt-sky-text); font-style: italic; }
.alt-menu-flights { display: flex; flex-direction: column; gap: 10px; }
.alt-menu-flights p { margin: 0; font-size: 10px; font-weight: 500; letter-spacing: .2em; color: var(--alt-muted); }
.alt-menu-flights a { color: var(--alt-text); text-decoration: none; font-size: 16px; }
.alt-menu-cta { margin-top: auto; padding: 16px; text-align: center; background: var(--alt-sky); color: #fff; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .18em; }
[data-alt-menu-open] { cursor: pointer; }

/* Enquiry form */
[data-alt-form] input, [data-alt-form] select, [data-alt-form] textarea { font-family: "Lora", serif; }
[data-alt-form] select { appearance: none; -webkit-appearance: none; background: transparent; color: inherit; border: 0; width: 100%; cursor: pointer; }
[data-alt-form] select option { background: #0c1d2e; color: #fff; }
[data-alt-form] input[type="date"] { color-scheme: dark; }
[data-alt-form] [aria-invalid="true"] { box-shadow: 0 2px 0 #e8a3a3; }
[data-alt-trip] { cursor: pointer; }
[data-alt-trip][aria-checked="true"] { background: #fff !important; color: #0c1d2e !important; }
[data-alt-trip][aria-checked="true"] * { color: #0c1d2e !important; --framer-text-color: #0c1d2e !important; }
[data-alt-back], [data-alt-next], [data-alt-reset] { cursor: pointer; }
.alt-tick-on { --border-color: var(--alt-sky) !important; }
.alt-tick-off { --border-color: rgba(169, 198, 220, .2) !important; }
.alt-tick-on [data-framer-component-type] p { color: #fff !important; }
.alt-form-note { margin: 16px 0 0; font: 500 14px/1.5 "Barlow", sans-serif; color: #f0b4b4; }
.alt-field-error { display: block; margin-top: 6px; font: 500 12px/1.4 "Barlow", sans-serif; letter-spacing: .04em; color: #f0b4b4; }

/* Keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
[role="button"]:focus-visible, [role="radio"]:focus-visible {
  outline: 2px solid var(--alt-sky-text);
  outline-offset: 3px;
}

/* Text whose rich-text colour variables were replaced: set explicitly */
.alt-sister p, .alt-sister a { font-family: "Barlow", sans-serif !important; font-size: 13px !important; font-weight: 400 !important; line-height: 1 !important; letter-spacing: 0 !important; }
.alt-legal { font-family: "Barlow", sans-serif !important; font-size: 10px !important; font-weight: 500 !important; letter-spacing: .16em !important; color: var(--alt-muted) !important; }
[data-framer-name="Urgent contact"] .alt-legal { color: var(--alt-sky-text) !important; font-size: 11px !important; }
.alt-rowlink { font-family: "Barlow", sans-serif !important; font-size: 16px !important; font-weight: 500 !important; color: #fff !important; }
[data-alt-form] select { color: #fff !important; }
[data-alt-form] input::placeholder, [data-alt-form] textarea::placeholder { color: #6f879c; opacity: 1; }

/* Sky Blue filled buttons carry white text (4.5:1) */
[data-alt-whole-link] p, [data-alt-whole-link] a { color: #fff !important; --framer-text-color: #fff !important; }

/* Rows of cells: every cell as tall as the row, so no backing colour shows below short cells */
[data-framer-name="Specification grid"] > *, [data-framer-name="Operational standards"] > *, [data-framer-name="Route summary"] > *,
[data-framer-name="About Content/2/0/1"] > * { align-self: stretch !important; height: auto !important; }
[data-framer-name="Flight detail"] [data-framer-name="Value"] p { font-size: clamp(20px, 1.75vw, 26px) !important; line-height: 1.15 !important; }

/* Phones: hero figures and readouts, flight selector rows */
[data-framer-name$="metric"] p { white-space: normal !important; }
@media (max-width: 809px) {
  [data-alt-hud] > div > span:last-child > span:nth-child(2) { display: none; }
  [data-alt-hud] > div > span:first-child { white-space: nowrap; }
  [data-framer-name="Route cities"] { flex-wrap: wrap !important; row-gap: 2px; }
  [data-framer-name="Route cities"] [data-framer-name="Hairline"] { display: none; }
  [data-framer-name="Route cities"] [data-framer-name="Route to"] { flex-basis: 100%; }
  [data-framer-name="Route cities"] [data-framer-name="Route to"] p { font-size: 18px !important; color: var(--alt-muted) !important; }
}
[data-framer-name$="metric"] > :first-child p { white-space: nowrap !important; }

/* "Ask about this flight" button: the template's text box is sized to its content, so keep the
   label on one line or it collapses to one letter per line */
a[href^="/contact/?flight="], .framer-text:has(> a[href^="/contact/?flight="]) { white-space: nowrap; }

/* Menu button: the Lucide "menu" icon inside the template's faint square */
[data-framer-name="Menu Button"] { border: 1px solid rgba(169, 198, 220, 0.28); box-sizing: border-box; }
[data-framer-name="Menu Button"] .lucide { padding: 11px; box-sizing: border-box; }

/* Hero figures: the labels wrap to different line counts, so keep the three columns top-aligned and left-set */
[data-framer-name="Hero Metrics"] { align-items: flex-start !important; }
[data-framer-name="Hero Metrics"] > [data-framer-name$="metric"] { align-items: flex-start !important; justify-content: flex-start !important; }
[data-framer-name="Hero Metrics"] > [data-framer-name$="metric"] .framer-text { text-align: left !important; --framer-text-alignment: left !important; }
@media (max-width: 809.98px) { [data-framer-name="Hero Metrics"] { margin-top: 20px !important; } }

/* "Ask about this charter" buttons: same one-line rule as the flight buttons */
a[href^="/contact/?charter="], .framer-text:has(> a[href^="/contact/?charter="]) { white-space: nowrap; }

/* Charters hub: steps and the flying-times table under the cards */
.alt-more { max-width: 880px; margin-top: 72px; }
.alt-more h2:first-child { margin-top: 0; }
.alt-prose ol.alt-steps { list-style: none; padding: 0; counter-reset: alt-step; }
.alt-prose ol.alt-steps li { counter-increment: alt-step; padding-left: 44px; }
.alt-prose ol.alt-steps li::before { content: counter(alt-step, decimal-leading-zero); top: 14px; width: auto; height: auto; background: none; font: 600 11px/1.6 "Barlow", sans-serif; letter-spacing: .16em; color: var(--alt-sky-text); }
.alt-prose td a { text-decoration-thickness: 1px; }
.alt-note-tight { margin-top: 20px; font-size: 14px; }
@media (max-width: 809px) { .alt-more { margin-top: 48px; } .alt-prose table { font-size: 14px; } }
