/**
 * Service Landing template.
 *
 * Section styling is inline in the partials, ported 1:1 from the design.
 * This sheet holds only what inline styles can't express: the design's global
 * rules (scoped to .svl), interactive states, hover states, the resets that
 * keep bb-theme's element styles out, and the responsive rules.
 */

.svl *,
.svl *::before,
.svl *::after { box-sizing: border-box; }
.svl { font-family: 'Open Sans', sans-serif; color: #3a3a3a; background: #ffffff; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.svl a { text-decoration: none; }
.svl img { max-width: 100%; }
.svl ::selection { background: #58c2e3; color: #00263D; }
.svl section[id] { scroll-margin-top: 90px; }

/* bb-theme resets — element styles the inline design styles don't cover */
.svl h1, .svl h2, .svl h3 { letter-spacing: normal; text-transform: none; }
.svl li { padding-bottom: 0 !important; }
.svl button { line-height: normal; text-transform: none; letter-spacing: normal; text-shadow: none; box-shadow: none; }
.svl input[type="text"] { height: auto; box-shadow: none; }
.svl input[type="range"] { padding: 0; border: 0; background: transparent; height: auto; box-shadow: none; }

@keyframes avFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes asmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes asmRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* Reveal: only below-the-fold elements get .svl-reveal (added by JS) */
.svl .svl-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.svl .svl-reveal.is-revealed { opacity: 1; transform: none; }

/* ---------- Tab groups ---------- */
.svl [data-panel] { display: none; }
.svl [data-panel].is-active { display: block; }

/* Why SEO: panels overlay in one grid cell so the box keeps the tallest height */
.svl .svl-why-panel,
.svl .svl-why-panel.is-active { display: block; visibility: hidden; }
.svl .svl-why-panel.is-active { visibility: visible; }
.svl .svl-why-tab.is-active,
.svl .svl-proc-tab.is-active { box-shadow: 0 16px 34px -18px rgba(0,20,33,0.55); }
.svl .svl-why-tab.is-active .svl-u,
.svl .svl-proc-tab.is-active .svl-u { text-decoration-line: underline; }
.svl .svl-why-tab:hover,
.svl .svl-why-tab:focus,
.svl .svl-proc-tab:hover,
.svl .svl-proc-tab:focus { background: #00263D; border-color: #164A6E; }

.svl .svl-season-tab { background: #ffffff; color: #5E6E7A; border-color: #D8E3EB; }
.svl .svl-season-tab:hover,
.svl .svl-season-tab:focus { background: #ffffff; color: #5E6E7A; border-color: #D8E3EB; }
.svl .svl-season-tab.is-active,
.svl .svl-season-tab.is-active:hover,
.svl .svl-season-tab.is-active:focus { background: #1b6493; color: #ffffff; border-color: #1b6493; }

.svl .svl-svc-tab { background: transparent; color: #CFE0EC; border-color: #2A567A; }
.svl .svl-svc-tab:hover,
.svl .svl-svc-tab:focus { background: transparent; color: #CFE0EC; border-color: #2A567A; }
.svl .svl-svc-tab.is-active,
.svl .svl-svc-tab.is-active:hover,
.svl .svl-svc-tab.is-active:focus { background: #58c2e3; color: #00263D; border-color: #58c2e3; }

/* ---------- Accordions ---------- */
.svl .svl-acc-rows { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .34s cubic-bezier(.4,0,.2,1), opacity .28s ease; }
.svl .is-open > .svl-acc-rows { grid-template-rows: 1fr; opacity: 1; }
.svl .svl-faq-body { display: none; }
.svl .is-open > .svl-faq-body { display: block; }
.svl [data-acc-toggle]:hover,
.svl [data-acc-toggle]:focus { background: none; }

/* ---------- Rich text (Why SEO bodies, heads-up, packages) ---------- */
.svl .svl-why-body p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.62; color: #3a3a3a; }
.svl .svl-why-body ul { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.svl .svl-why-body li { position: relative; padding-left: 17px; font-size: 15px; line-height: 1.5; color: #3C4B57; }
.svl .svl-why-body li::before { content: "\2022"; position: absolute; left: 0; top: 0; color: #1b6493; font-weight: 700; }
.svl .svl-why-body strong { color: #00263D; font-weight: 700; }
.svl .svl-why-body > :last-child { margin-bottom: 0; }
.svl .svl-strong-dark strong { color: #00263D; }
.svl .svl-strong-white strong { color: #fff; font-weight: 700; }
.svl .svl-quote-em em { font-style: italic; color: #9BDDF2; }

.svl .svl-chip { display: inline-block; background: #E9F5FB; color: #1b6493; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.82em; padding: 0 7px; border-radius: 5px; }

/* ---------- Embedded audit form (Form code field) ----------
 * Light-touch defaults so a pasted form reads on the dark section; the
 * form's own styles still win where they set something. */
.svl .svl-audit-form { color: #CFE0EC; font-family: 'Open Sans', sans-serif; }
.svl .svl-audit-form label { color: #ffffff; font-weight: 600; }
.svl .svl-audit-form input[type="text"],
.svl .svl-audit-form input[type="email"],
.svl .svl-audit-form input[type="tel"],
.svl .svl-audit-form input[type="url"],
.svl .svl-audit-form select,
.svl .svl-audit-form textarea { width: 100%; background: #fff; border: none; border-radius: 4px; padding: 14px 16px; font-size: 16px; color: #00263D; }
.svl .svl-audit-form input[type="submit"],
.svl .svl-audit-form button[type="submit"] { background: #58c2e3; color: #00263D; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 16px; padding: 16px 26px; border: none; border-radius: 4px; cursor: pointer; }
.svl .svl-audit-form input[type="submit"]:hover,
.svl .svl-audit-form button[type="submit"]:hover { background: #7FD3EE; }
.svl .svl-audit-form a { color: #9BDDF2; }

/* ---------- Hover states (design `style-hover`) ---------- */
.svl .svl-h-teal:hover { background: #0d7f78 !important; }
.svl .svl-h-white:hover { color: #ffffff !important; }
.svl .svl-h-teal-text:hover { color: #13a89e !important; }
.svl .svl-h-teal-dark-text:hover { color: #0d7f78 !important; }
.svl .svl-h-outline:hover { background: #F0F5F9 !important; border-color: #13a89e !important; }
.svl .svl-h-shadow:hover { box-shadow: 0 18px 40px -24px rgba(11,41,66,.45) !important; }
.svl .svl-h-pale:hover { background: #E9F5FB !important; }
.svl .svl-h-pale-blue:hover { background: #DCE9F0 !important; }
.svl .svl-h-sky:hover { background: #7FD3EE !important; }
.svl .svl-h-border-sky:hover { border-color: #58c2e3 !important; }
.svl .svl-asm-btn:hover,
.svl .svl-asm-btn:focus { background: #134E76 !important; }

/* ---------- Floating table of contents ---------- */
.svl .svl-toc { position: fixed; left: 24px; bottom: 24px; z-index: 90; width: 320px; max-width: calc(100vw - 32px); border-radius: 14px; overflow: hidden; background: #00263D; box-shadow: 0 18px 44px -16px rgba(0,20,33,.45); font-family: 'Open Sans', sans-serif; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s; }
.svl .svl-toc.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .3s ease; }
.svl .svl-toc-head,
.svl .svl-toc-head:hover,
.svl .svl-toc-head:focus { display: block; width: 100%; text-align: left; background: #00263D; color: #fff; border: 0; border-radius: 0; padding: 18px 20px; cursor: pointer; }
.svl .svl-toc-head:focus-visible { outline: 2px solid #58c2e3; outline-offset: -4px; }
.svl .svl-toc-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.svl .svl-toc-eyebrow { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #7FD3EE; }
.svl .svl-toc-count { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 11.5px; letter-spacing: .08em; color: #9BC4DC; white-space: nowrap; }
.svl .svl-toc-titlerow { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.svl .svl-toc-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 18px; line-height: 1.25; color: #fff; }
.svl .svl-toc-caret { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; line-height: 1; color: #fff; transition: transform .25s ease; }
.svl .svl-toc.is-open .svl-toc-caret { transform: rotate(180deg); }
.svl .svl-toc-panel { max-height: 0; overflow: hidden; background: #F5F8FA; transition: max-height .3s ease; }
.svl .svl-toc.is-open .svl-toc-panel { max-height: min(60vh, 540px); overflow-y: auto; }
.svl .svl-toc-list { list-style: none; margin: 0; padding: 16px 18px 18px 20px; position: relative; }
.svl .svl-toc-list::before { content: ""; position: absolute; left: 28.25px; top: 28px; bottom: 30px; width: 1.5px; background: #D8E3EB; }
.svl .svl-toc-item { position: relative; margin: 0; line-height: 1.35; }
.svl .svl-toc-item a { display: flex; align-items: center; gap: 14px; padding: 6px 0; color: #5E6E7A; font-size: 14.5px; line-height: 1.35; transition: color .2s ease; }
.svl .svl-toc-item a:hover { color: #1b6493; }
.svl .svl-toc-dot { flex: none; position: relative; z-index: 1; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; }
.svl .svl-toc-dot::before { content: ""; box-sizing: border-box; width: 10px; height: 10px; border-radius: 50%; background: #F5F8FA; border: 1.5px solid #B9C7D2; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.svl .svl-toc-l1 a { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15.5px; color: #00263D; }
.svl .svl-toc-l1 .svl-toc-dot::before { width: 13px; height: 13px; border-width: 2px; border-color: #9DB2C1; }
.svl .svl-toc-l2 a { gap: 26px; }
.svl .svl-toc-item.is-active a { color: #13a89e; }
.svl .svl-toc-item.is-active .svl-toc-dot::before { background: #13a89e; border-color: #13a89e; box-shadow: 0 0 0 4px rgba(19,168,158,.22); }
@media (max-width: 620px) {
	.svl .svl-toc { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; }
	.svl .svl-toc-head, .svl .svl-toc-head:hover, .svl .svl-toc-head:focus { padding: 14px 16px; }
	.svl .svl-toc-title { font-size: 16px; }
}
@media print { .svl .svl-toc { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
	.svl .svl-hero-grid { grid-template-columns: minmax(0,1fr) !important; gap: 44px !important; }
	.svl .svl-hero-h1 { font-size: 44px !important; }
	.svl .svl-strip { grid-template-columns: minmax(0,1fr) !important; }
	.svl .svl-strip > div { padding: 22px 0 !important; }
	.svl .svl-3col,
	.svl .svl-4col { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 900px) {
	.svl .svl-2col,
	.svl .svl-quote-grid,
	.svl .svl-why-grid,
	.svl .svl-approach-grid,
	.svl .svl-process-grid,
	.svl .svl-svc-panel,
	.svl .svl-whyus-grid,
	.svl .svl-roi-grid,
	.svl .svl-phase-grid,
	.svl .svl-pack-grid { grid-template-columns: minmax(0,1fr) !important; gap: 28px !important; }
	.svl .svl-funnel-label { display: none !important; }
	.svl .svl-pad-lg { padding: 32px 26px !important; }
	.svl .svl-ch-label { font-size: 34px !important; }
	.svl .svl-h2-xl { font-size: 30px !important; }
}
@media (max-width: 800px) {
	.svl .svl-season-panel { grid-template-columns: minmax(0,1fr) !important; gap: 28px !important; }
}
@media (max-width: 720px) {
	.svl .svl-3col,
	.svl .svl-4col,
	.svl .svl-checklist-grid,
	.svl .svl-cs-stats { grid-template-columns: minmax(0,1fr) !important; }
}
@media (max-width: 620px) {
	.svl .svl-hero-h1 { font-size: 34px !important; }
	.svl .svl-wrap { padding-left: 20px !important; padding-right: 20px !important; }
	.svl .svl-pad-lg { padding: 26px 20px !important; }
	.svl .svl-serp-card { display: none !important; }
	.svl .svl-ch-label { font-size: 30px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.svl .svl-reveal { opacity: 1; transform: none; transition: none; }
}
