/* ==================================================================
   PRE-FOOTER, above the footer
   1. "Let's talk" — full-width blue band: title, text, steps | quick inquiry form in a white panel
   2. Product updates sign-up — one slim white band: short text | e-mail field
   Loaded after brand.css (uses its --orfa-* tokens).
   ================================================================== */

/* Pages that ended with their own dark call-to-action: the pre-footer replaces it. */
#top.has-orfa-prefooter .avia-section.orfa-footer-cta,
#top.has-orfa-prefooter .psc-cat-cta,
#top.has-orfa-prefooter .ob-cta { display: none !important; }

/* The theme's content sections are floated: start below them. */
#top .orfa-pf { clear: both; position: relative; width: 100%; }
#top .orfa-pf__wrap { width: min(var(--orfa-content), calc(100% - 2 * var(--orfa-gutter))); margin: 0 auto; }

/* ------------------------------------------------------------ 1. Let's talk — blue band: copy + steps | form */
#top .orfa-pf__talk {
	padding: 104px 0;
	background: radial-gradient(circle at 12% 18%, rgba(54, 163, 255, .18), transparent 36%), linear-gradient(135deg, #06162e 0%, #0a2d5e 58%, #105db1 100%);
	color: #fff;
}
#top .orfa-pf__talk-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 72px; }

/* Left: copy and steps */
#top .orfa-pf__eyebrow { display: inline-flex; align-items: center; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 12px; font-weight: 800; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; color: #bfe6ff; }
#top .orfa-pf__title { margin: 20px 0 16px; padding: 0; font-size: clamp(30px, 1.7vw + 16px, 44px) !important; font-weight: 800 !important; line-height: 1.1 !important; letter-spacing: -.025em; color: #fff !important; text-wrap: balance; }
#top .orfa-pf__text { max-width: 520px; margin: 0; font-size: 17px; line-height: 1.7; color: #c9d8ed; }
#top .orfa-pf__how { margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .14); }
#top .orfa-pf__how-title { display: block; margin-bottom: 20px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8fc4f2; }
#top .orfa-pf__steps { list-style: none; display: grid; gap: 22px; margin: 0; padding: 0; }
#top .orfa-pf__steps li { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 16px; margin: 0; padding: 0; }
#top .orfa-pf__steps li + li::before { content: ""; position: absolute; left: 18.5px; top: -22px; height: 22px; width: 1px; background: rgba(255, 255, 255, .2); }
#top .orfa-pf__step-n { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(255, 255, 255, .06); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; }
#top .orfa-pf__step-txt { padding-top: 1px; }
#top .orfa-pf__steps strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.35; color: #fff; }
#top .orfa-pf__steps small { display: block; margin-top: 3px; font-size: 14px; line-height: 1.5; color: #9fb1c7; }

/* Right: white form panel */
#top .orfa-pf__panel { padding: 40px 40px 36px; border-radius: 22px; background: #fff; box-shadow: 0 40px 90px -36px rgba(0, 6, 20, .7); color: var(--orfa-ink); }
#top .orfa-pf__panel-title { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--orfa-ink); }
#top .orfa-pf__panel-sub { margin: 4px 0 0; font-size: 13.5px; color: #6b7a8f; }

/* Quick inquiry form (Contact Form 7 "Quick inquiry (footer)") */
#top .orfa-pf__form { margin-top: 24px; }
#top .orfa-pf .wpcf7 { margin: 0; }
#top .orfa-pf .wpcf7 form > p:empty, #top .orfa-pf .wpcf7 br { display: none; }
#top .orfa-qf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
#top .orfa-qf__field { margin: 0; padding: 0; }
#top .orfa-qf__field--full { grid-column: 1 / -1; }
#top .orfa-qf__field label { display: block; margin: 0; font-size: 13px; font-weight: 600; color: #1b2638; }
#top .orfa-qf__field label > span[aria-hidden] { color: #d14343; }
#top .orfa-qf input[type="text"], #top .orfa-qf input[type="email"], #top .orfa-qf textarea {
	width: 100%; height: 48px; margin: 6px 0 0; padding: 0 14px; border: 1px solid #dfe6ef !important; border-radius: 10px;
	background: #f6f8fb !important; box-shadow: none !important; color: var(--orfa-ink); font-size: 15px; font-family: inherit;
}
#top .orfa-qf textarea { height: auto; min-height: 112px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
#top .orfa-qf input[type="text"]:focus, #top .orfa-qf input[type="email"]:focus, #top .orfa-qf textarea:focus { border-color: var(--orfa-blue) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(10, 102, 255, .12) !important; outline: none; }
#top .orfa-qf__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 20px; }
#top .orfa-qf__foot > p { display: contents; }
#top .orfa-qf input[type="submit"] {
	height: 50px; margin: 0; padding: 0 30px; border: 0; border-radius: 999px; background: var(--orfa-blue); color: #fff;
	font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 12px 26px -8px rgba(10, 102, 255, .55); transition: background .2s, transform .2s;
}
#top .orfa-qf input[type="submit"]:hover, #top .orfa-qf input[type="submit"]:focus-visible { background: var(--orfa-blue-d, #0050d8); transform: translateY(-1px); }
#top .orfa-qf__note { font-size: 13px; color: #6b7a8f; }
#top .orfa-qf__note a { color: inherit; text-decoration: underline; }
#top .orfa-pf .wpcf7-spinner { margin: 0 0 0 4px; }
#top .orfa-pf .wpcf7-not-valid-tip { margin-top: 5px; font-size: 12.5px; }
#top .orfa-pf .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; }

/* ------------------------------------------------------------ 2. Product updates — one slim band */
#top .orfa-pf__news { padding: 40px 0; background: #fff; border-top: 1px solid var(--orfa-line); }
#top .orfa-pf__news-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); align-items: center; gap: 20px 64px; }
#top .orfa-pf__news-title { margin: 0; font-size: 22px !important; line-height: 1.3 !important; letter-spacing: -.01em; color: var(--orfa-ink); }
#top .orfa-pf__news-text { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: #5d6d82; }
#top .orfa-pf__news-form { position: relative; margin: 0; }
#top .orfa-pf__field { display: flex; gap: 10px; }
#top .orfa-pf__news-form input[type="email"] { flex: 1; min-width: 0; height: 48px; margin: 0; padding: 0 16px; border: 1px solid #cfd9e6 !important; border-radius: 10px; background: #fff !important; box-shadow: none !important; font-size: 15px; color: var(--orfa-ink); }
#top .orfa-pf__news-form input[type="email"]:focus { border-color: var(--orfa-blue) !important; box-shadow: 0 0 0 3px rgba(10, 102, 255, .14) !important; outline: none; }
#top .orfa-pf__news-form button { flex: none; height: 48px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--orfa-ink); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s; }
#top .orfa-pf__news-form button:hover, #top .orfa-pf__news-form button:focus-visible { background: var(--orfa-blue); }
#top .orfa-pf__news-form.is-busy button { opacity: .7; }
#top .orfa-pf__news-note { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: #7a889b; }
#top .orfa-pf__news-note a { color: inherit; text-decoration: underline; }
#top .orfa-pf__news-msg { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: #0f7a43; }
#top .orfa-pf__news-msg:empty { display: none; }
#top .orfa-pf__news-form.is-error .orfa-pf__news-msg { color: #c0392b; }
#top .orfa-pf__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ------------------------------------------------------------ Smaller screens */
@media (max-width: 1180px) {
	#top .orfa-pf__talk-in { gap: 48px; }
	#top .orfa-pf__panel { padding: 34px 32px 30px; }
}
@media (max-width: 989px) {
	#top .orfa-pf__talk { padding: 72px 0; }
	#top .orfa-pf__talk-in { grid-template-columns: 1fr; gap: 40px; }
	#top .orfa-pf__intro { max-width: 680px; }
	#top .orfa-pf__how { margin-top: 32px; padding-top: 26px; }
	#top .orfa-pf__news-in { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
	#top .orfa-pf__talk { padding: 56px 0 60px; }
	#top .orfa-pf__title { margin: 16px 0 12px; }
	#top .orfa-pf__text { font-size: 16px; }
	#top .orfa-pf__steps { gap: 18px; }
	#top .orfa-pf__steps li { grid-template-columns: 34px minmax(0, 1fr); gap: 14px; }
	#top .orfa-pf__steps li + li::before { left: 16.5px; top: -18px; height: 18px; }
	#top .orfa-pf__step-n { width: 34px; height: 34px; font-size: 13px; }
	#top .orfa-pf__steps strong { font-size: 15px; }
	#top .orfa-pf__steps small { font-size: 13.5px; }
	#top .orfa-pf__panel { padding: 26px 20px 24px; border-radius: 18px; }
	#top .orfa-pf__news { padding: 32px 0; }
	#top .orfa-pf__news-title { font-size: 20px !important; }
	#top .orfa-qf__grid { grid-template-columns: 1fr; }
	#top .orfa-qf__note { flex-basis: 100%; }
}
@media (max-width: 479px) {
	#top .orfa-pf__field { flex-direction: column; }
	#top .orfa-pf__news-form input[type="email"], #top .orfa-pf__news-form button { flex: none; width: 100%; height: 52px; }
}
