/* AquaVue Solace Funnel: long-form story on the Solace product page. Open layout, no card frames. */
.av-fn { --fn-navy: var(--av-navy, #0B1F3A); --fn-blue: var(--av-blue, #0A72BB); --fn-muted: var(--av-muted, #5B6B7B); --fn-line: var(--av-line, #E3EAF1); color: var(--fn-navy); font-family: Inter, system-ui, sans-serif; }
.av-fn-wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.av-fn-narrow { width: min(820px, 100% - 40px); }
.av-fn-sec { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--fn-line); }
.av-fn-sec:first-child { border-top: 0; }
.av-fn-alt { background: #F5F8FB; border-top: 0; }
.av-fn-center { text-align: center; }
.av-fn-center .av-fn-ctas { justify-content: center; }
.av-fn-eb { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--fn-blue); }
.av-fn-h2 { margin: 0 0 14px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; color: var(--fn-navy); }
.av-fn-lead { margin: 0 0 28px; max-width: 680px; font-size: 18px; line-height: 1.6; color: var(--fn-muted); }
.av-fn-center .av-fn-lead { margin-left: auto; margin-right: auto; }
.av-fn-lead b { color: var(--fn-navy); }

/* Buttons: 10px radius, solid blue primary, outline secondary */
.av-fn-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.av-fn-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 10px; background: var(--fn-blue); color: #fff !important; font-size: 16px; font-weight: 600; text-decoration: none !important; transition: background-color .2s, color .2s, border-color .2s; }
.av-fn-btn:hover { background: var(--av-blue-hover, #085E9B); }
.av-fn-btn--ghost { background: transparent; color: var(--fn-navy) !important; border: 1.5px solid #C9D6E2; }
.av-fn-btn--ghost:hover { background: transparent; border-color: var(--fn-blue); color: var(--fn-blue) !important; }
.av-fn-btn--light { background: #fff; color: var(--fn-navy) !important; }
.av-fn-btn--light:hover { background: #EAF5FD; }

/* Media */
.av-fn img, .woocommerce .av-fn img { display: block; max-width: 100%; height: auto; border-radius: 16px; }
.av-fn-media { margin-top: 8px; }
.av-fn-video { display: block; width: 100%; border-radius: 16px; background: #0B1F3A; }
.av-fn-media--wide .av-fn-video { aspect-ratio: 16 / 9; object-fit: contain; }
.av-fn-videos { display: grid; gap: 20px; margin-top: 28px; }
.av-fn-videos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-left: auto; margin-right: auto; }
.av-fn-videos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.av-fn-video.is-tall { aspect-ratio: 9 / 16; object-fit: cover; }
.av-fn-banner { margin-top: clamp(40px, 6vw, 72px); }
.av-fn-banner img { width: 100%; }

/* Photo + copy split */
.av-fn-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.av-fn-split--rev .av-fn-split-media { order: 2; }
.av-fn-split-media img { width: 100%; }
.av-fn-cover { aspect-ratio: 4 / 3; object-fit: cover; }
.av-fn-contain { object-fit: contain; }
.av-fn-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; }
.av-fn-pair .av-fn-cover { aspect-ratio: 3 / 4; }
.av-fn-price { margin: 0 0 22px; font-size: 32px; font-weight: 700; color: var(--fn-navy); }
.av-fn-price span { font-size: 16px; font-weight: 500; color: var(--fn-muted); }
.av-fn-checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.av-fn-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--fn-muted); }
.av-fn-checks svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; color: var(--fn-blue); }
.av-fn-checks b { color: var(--fn-navy); font-weight: 600; }

/* Images stacked down the page, each with breathing room around it */
.av-fn-gallery { padding-bottom: clamp(40px, 6vw, 80px); }
.av-fn-full { width: min(1080px, 100% - 40px); margin: clamp(20px, 3vw, 36px) auto 0; }
.av-fn-gallery .av-fn-wrap + .av-fn-full { margin-top: clamp(28px, 4vw, 48px); }
.av-fn .av-fn-full img { width: 100%; height: auto; border-radius: 16px; }

/* Full-bleed photo bands */
.av-fn-photo { position: relative; border-top: 0; color: #fff; background: #0B1F3A var(--av-fn-bg) center / cover no-repeat; }
.av-fn-photo::before { content: ""; position: absolute; inset: 0; background: rgba(11, 31, 58, .72); }
.av-fn-photo > * { position: relative; }
.av-fn-photo .av-fn-h2 { color: #fff; max-width: 720px; }
.av-fn-feats { margin: 36px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.av-fn-feats li { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .25); }
.av-fn-feats b { display: block; margin-bottom: 6px; font-size: 18px; font-weight: 600; }
.av-fn-feats span { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .8); }
.av-fn-partner { padding: clamp(44px, 6vw, 72px) 0; }
.av-fn-partner-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.av-fn-partner .av-fn-h2 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); }

/* FAQ */
.av-fn-faq { margin-top: 20px; border-top: 1px solid var(--fn-line); }
.av-fn-faq details { border-bottom: 1px solid var(--fn-line); }
.av-fn-faq summary { position: relative; padding: 20px 40px 20px 0; list-style: none; cursor: pointer; font-size: 17px; font-weight: 600; color: var(--fn-navy); }
.av-fn-faq summary::-webkit-details-marker { display: none; }
.av-fn-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--fn-blue); }
.av-fn-faq details[open] summary::after { content: "\2212"; }
.av-fn-faq p { margin: 0; padding: 0 0 20px; font-size: 16px; line-height: 1.65; color: var(--fn-muted); }

/* Subtle fade-in (opacity only) */
.av-fn.js .av-fn-fade { opacity: 0; transition: opacity .5s ease; }
.av-fn.js .av-fn-fade.is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .av-fn.js .av-fn-fade { opacity: 1; transition: none; } }

@media (max-width: 900px) {
	.av-fn-split { grid-template-columns: 1fr; }
	.av-fn-split--rev .av-fn-split-media { order: 0; }
	.av-fn-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.av-fn-videos--3 { grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; }
	.av-fn-videos--3 .av-fn-video { scroll-snap-align: start; }
}
@media (max-width: 600px) {
	.av-fn-lead { font-size: 16px; }
	.av-fn-ctas .av-fn-btn { flex: 1 1 100%; }
	.av-fn-videos--2 { grid-template-columns: 1fr; max-width: 420px; }
	.av-fn-videos--3 { grid-template-columns: repeat(3, 72%); }
	.av-fn-feats { grid-template-columns: 1fr; }
	.av-fn-price { font-size: 28px; }
}
