/*
Theme Name: Simplify Networks
Theme URI: https://simplifynetworksllc.com
Author: Simplify Networks LLC
Description: Animated, responsive multi-page theme for Simplify Networks. Full-screen hero slider, scroll animations, counters, carousels, flip cards and mouse effects.
Version: 2.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: simplify
*/

/* ================= Tokens ================= */
:root {
	--paper: #ffffff;
	--mist: #eef3f8;
	--navy: #061a33;
	--navy-2: #0b2648;
	--ink: #0a2342;
	--slate: #4b5d73;
	--muted: #6d7d91;
	--blue: #0057b0;
	--blue-deep: #003f87;
	--sky: #00a3e0;
	--amber: #ffb400;
	--amber-deep: #e59e00;
	--line: #d6dfea;
	--on-dark: #c9d6e6;
	--display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
	--text: "Inter", "Segoe UI", system-ui, sans-serif;
	--max: 1200px;
	--gut: 24px;
	--pad: max(var(--gut), calc((100% - var(--max)) / 2));
	--r: 8px;
	--r-lg: 14px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow: 0 30px 60px -30px rgba(6, 26, 51, .45);
	color-scheme: light;
}
@media (max-width: 640px) { :root { --gut: 18px; } }

/* ================= Base ================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--slate); font: 400 17px/1.65 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0;  letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); line-height: 1.02; font-weight: 780; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.07; font-weight: 740; }
h3 { font-size: 1.28rem; line-height: 1.25; font-weight: 680;  }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; }
strong, b { color: var(--ink); font-weight: 600; }
.lead { font-size: 1.15rem; line-height: 1.6; max-width: 62ch; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r); z-index: 999; }
.skip:focus { left: 12px; }
.wrap { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding-inline: var(--gut); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sn-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 640 .95rem/1 var(--display);  color: var(--blue); }
.sn-eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--amber), var(--sky)); }

/* ================= Buttons ================= */
.sn-btn, .wp-block-button .wp-block-button__link {
	position: relative; overflow: hidden; isolation: isolate;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font: 660 1rem/1 var(--display); 
	padding: 17px 26px; border-radius: var(--r); border: 2px solid var(--blue);
	background: var(--blue); color: #fff; text-decoration: none; cursor: pointer;
	transition: color .3s, border-color .3s, transform .25s var(--ease), box-shadow .3s;
}
.sn-btn::before, .wp-block-button .wp-block-button__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .35s var(--ease); }
.sn-btn:hover, .wp-block-button .wp-block-button__link:hover { color: #fff; border-color: var(--ink); box-shadow: 0 16px 30px -16px rgba(6, 26, 51, .8); }
.sn-btn:hover::before, .wp-block-button .wp-block-button__link:hover::before { transform: none; }
.sn-btn.is-amber { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.sn-btn.is-amber::before { background: #fff; }
.sn-btn.is-amber:hover { color: var(--navy); border-color: #fff; }
.sn-btn.is-light { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.sn-btn.is-light::before { background: #fff; }
.sn-btn.is-light:hover { color: var(--navy); border-color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border-color: #b8c6d8; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { color: #fff; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button { margin: 0; }
.sn-dark .wp-block-button .wp-block-button__link, .sn-navy .wp-block-button .wp-block-button__link { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.sn-dark .wp-block-button .wp-block-button__link::before { background: #fff; }
.sn-dark .wp-block-button .wp-block-button__link:hover { color: var(--navy); border-color: #fff; }

/* ================= Masthead (transparent over hero, solid on scroll) ================= */
.masthead { position: fixed; top: 0; left: 0; right: 0; z-index: 90; transition: background-color .35s, box-shadow .35s, transform .35s var(--ease); }
.admin-bar .masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar .masthead { top: 46px; } }
.topbar { color: #b9c7da; font-size: .86rem; max-height: 44px; overflow: hidden; transition: max-height .35s var(--ease), opacity .3s; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; }
.topbar ul { list-style: none; padding: 0; display: flex; gap: 26px; }
.topbar a { color: #e6edf6; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--amber); }
.topbar .ic { width: 15px; height: 15px; fill: none; stroke: var(--amber); stroke-width: 1.8; }
.masthead.scrolled { background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); box-shadow: 0 12px 30px -20px rgba(6, 26, 51, .55); }
.masthead.scrolled .topbar { max-height: 0; opacity: 0; }
.masthead.hidden { transform: translateY(-100%); }
@media (max-width: 900px) { .topbar p { display: none; } .topbar .wrap { justify-content: center; } .topbar li:nth-child(2) { display: none; } }
@media (max-width: 420px) { .topbar li:nth-child(3) { display: none; } }

.site-header .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 28px; height: 84px; transition: height .35s var(--ease); }
.masthead.scrolled .site-header .wrap { height: 72px; }
.brand { display: grid; line-height: 0; }
.brand img { grid-area: 1 / 1; height: 58px; width: auto; transform: translateY(-5px); transition: opacity .3s; }
.brand .logo-dark { opacity: 0; }
.masthead.scrolled .brand .logo-dark { opacity: 1; }
.masthead.scrolled .brand .logo-light { opacity: 0; }
.nav { justify-self: center; }
.nav .menu { list-style: none; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav .menu > li { position: relative; display: flex; align-items: center; }
.nav .menu a { display: block; font: 580 .99rem/1 var(--display);  color: #fff; text-decoration: none; padding: 12px 13px; white-space: nowrap; position: relative; transition: color .2s; }
.nav .menu > li > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav .menu > li > a:hover::after, .nav .menu > li.current-menu-item > a::after, .nav .menu > li.current-menu-ancestor > a::after, .nav .menu > li.current-page-ancestor > a::after { transform: none; }
.masthead.scrolled .nav .menu a { color: var(--ink); }
.masthead.scrolled .nav .menu > li > a:hover { color: var(--blue); }
.sub-toggle { border: 0; background: none; padding: 6px 4px; margin-left: -10px; cursor: pointer; color: #fff; display: grid; place-items: center; }
.masthead.scrolled .sub-toggle { color: var(--ink); }
.sub-toggle .ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s; }
.nav .sub-menu { list-style: none; margin: 0; padding: 12px; position: absolute; top: calc(100% + 10px); left: -16px; min-width: 310px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); border-top: 3px solid var(--amber); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav .sub-menu li { opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .3s var(--ease); }
.nav .sub-menu a { color: var(--ink) !important; font: 500 .96rem/1.3 var(--text); padding: 11px 12px; border-radius: 6px; }
.nav .sub-menu a:hover { background: var(--mist); color: var(--blue) !important; padding-left: 18px; transition: padding .25s var(--ease), background .2s; }
.nav .menu > li:hover > .sub-menu, .nav .menu > li:focus-within > .sub-menu, .nav .menu > li.open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .menu > li:hover > .sub-menu li, .nav .menu > li:focus-within > .sub-menu li, .nav .menu > li.open > .sub-menu li { opacity: 1; transform: none; }
.nav .sub-menu li:nth-child(2) { transition-delay: .03s; } .nav .sub-menu li:nth-child(3) { transition-delay: .06s; } .nav .sub-menu li:nth-child(4) { transition-delay: .09s; } .nav .sub-menu li:nth-child(5) { transition-delay: .12s; } .nav .sub-menu li:nth-child(6) { transition-delay: .15s; } .nav .sub-menu li:nth-child(7) { transition-delay: .18s; } .nav .sub-menu li:nth-child(8) { transition-delay: .21s; }
.nav .menu > li.open .sub-toggle .ic, .nav .menu > li:hover .sub-toggle .ic { transform: rotate(180deg); }
.nav-cta { display: none !important; }
.head-cta { padding: 14px 22px; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1.5px solid rgba(255, 255, 255, .5); background: transparent; border-radius: var(--r); cursor: pointer; place-items: center; }
.masthead.scrolled .menu-btn { border-color: var(--line); }
.menu-btn .ic { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.masthead.scrolled .menu-btn .ic { stroke: var(--ink); }
.menu-btn .ic-close, .menu-btn[aria-expanded="true"] .ic-menu { display: none; }
.menu-btn[aria-expanded="true"] .ic-close { display: block; }
@media (max-width: 1140px) { .nav .menu a { padding-inline: 9px; font-size: .95rem; } .site-header .wrap { column-gap: 16px; } }
@media (max-width: 1020px) {
	.site-header .wrap { grid-template-columns: auto 1fr; height: 72px; }
	.brand img { height: 44px; }
	.head-cta { display: none; }
	.menu-btn { display: grid; justify-self: end; }
	.nav { position: fixed; inset: 0; top: 0; z-index: -1; background: var(--navy); padding: 120px var(--gut) 40px; display: block; overflow: auto; clip-path: circle(0 at calc(100% - 44px) 60px); transition: clip-path .6s var(--ease); }
	.nav.open { clip-path: circle(150% at calc(100% - 44px) 60px); }
	.masthead.menu-open { background: transparent !important; box-shadow: none !important; }
	.masthead.menu-open .brand .logo-light { opacity: 1; } .masthead.menu-open .brand .logo-dark { opacity: 0; }
	.masthead.menu-open .menu-btn .ic { stroke: #fff; } .masthead.menu-open .menu-btn { border-color: rgba(255, 255, 255, .5); }
	.nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .12); opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
	.nav.open .menu > li { opacity: 1; transform: none; }
	.nav.open .menu > li:nth-child(1) { transition-delay: .15s; } .nav.open .menu > li:nth-child(2) { transition-delay: .2s; } .nav.open .menu > li:nth-child(3) { transition-delay: .25s; } .nav.open .menu > li:nth-child(4) { transition-delay: .3s; } .nav.open .menu > li:nth-child(5) { transition-delay: .35s; } .nav.open .menu > li:nth-child(6) { transition-delay: .4s; } .nav.open .menu > li:nth-child(7) { transition-delay: .45s; }
	.nav .menu > li > a { flex: 1; padding: 18px 2px; font-size: 1.3rem; color: #fff !important; }
	.nav .menu > li > a::after { display: none; }
	.sub-toggle, .masthead.scrolled .sub-toggle { margin: 0; width: 48px; height: 48px; color: #fff; }
	.nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; min-width: 0; width: 100%; display: none; background: transparent; }
	.nav .sub-menu li { opacity: 1; transform: none; }
	.nav .sub-menu a { color: #c9d6e6 !important; font-size: 1rem; }
	.nav .sub-menu a:hover { background: rgba(255, 255, 255, .06); color: #fff !important; }
	.nav .menu > li.open > .sub-menu { display: block; }
	.nav-cta { display: flex !important; margin-top: 26px; width: 100%; }
}

/* ================= Home hero slider ================= */
.sn-hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1000px; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.sn-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.sn-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.sn-slide__bg { position: absolute; inset: -40px; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 7s linear; will-change: transform; }
.sn-slide.is-active .sn-slide__bg { transform: scale(1) translate(var(--mx, 0px), var(--my, 0px)); }
.sn-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 26, 51, .93) 0%, rgba(6, 26, 51, .78) 45%, rgba(0, 87, 176, .35) 100%); }
.sn-slide__inner { position: relative; z-index: 1; width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 120px var(--gut) 140px; display: grid; gap: 26px; justify-items: start; }
.sn-slide__tag { display: inline-flex; align-items: center; gap: 12px; font: 640 1rem/1 var(--display);  color: var(--amber); }
.sn-slide__tag::before { content: ""; width: 42px; height: 3px; border-radius: 2px; background: var(--amber); }
.sn-slide__title { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1; font-weight: 790; max-width: 15ch; letter-spacing: -0.03em; }
.sn-slide__title .rot { display: inline-grid; vertical-align: bottom; overflow: hidden; padding: 0 .04em .1em 0; perspective: 600px; }
.sn-slide__title .rot > span { grid-area: 1 / 1; white-space: nowrap; background: linear-gradient(90deg, #ffb400 0%, #ffd56a 30%, #3fc4ff 60%, #ffb400 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite; opacity: 0; transform: translateY(80%) rotateX(-70deg); filter: blur(8px); transform-origin: 50% 100%; transition: transform .85s var(--ease), opacity .6s ease, filter .7s ease; }
.sn-slide__title .rot > span.on { opacity: 1; transform: none; filter: none; }
.sn-slide__title .rot > span.out { opacity: 0; transform: translateY(-70%) rotateX(70deg); filter: blur(8px); transform-origin: 50% 0; }
i.pn { font-style: normal; margin-left: -.09em; }
@keyframes shine { to { background-position: -220% 0; } }
.sn-slide__text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 54ch; color: var(--on-dark); }
.sn-slide__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
/* text entrance on each slide */
.sn-slide__inner > * { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .9s var(--ease); }
.sn-slide.is-active .sn-slide__inner > * { opacity: 1; transform: none; }
.sn-slide.is-active .sn-slide__inner > :nth-child(1) { transition-delay: .25s; }
.sn-slide.is-active .sn-slide__inner > :nth-child(2) { transition-delay: .4s; }
.sn-slide.is-active .sn-slide__inner > :nth-child(3) { transition-delay: .6s; }
.sn-slide.is-active .sn-slide__inner > :nth-child(4) { transition-delay: .75s; }
.sn-slide__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.sn-slide__title .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); }
.sn-slide.is-active .sn-slide__title .w > span { transform: none; }
.sn-hero__nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 96px; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding-inline: var(--gut); display: flex; align-items: center; gap: 16px; }
.sn-hero__arrow { width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); cursor: pointer; display: grid; place-items: center; transition: background .25s, border-color .25s, transform .25s; }
.sn-hero__arrow:hover { background: var(--amber); border-color: var(--amber); transform: scale(1.06); }
.sn-hero__arrow svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sn-hero__arrow:hover svg { stroke: var(--navy); }
.sn-hero__dots { display: flex; gap: 14px; flex: 1; }
.sn-hero__dot { flex: 1; max-width: 220px; border: 0; background: none; padding: 10px 0 0; cursor: pointer; text-align: left; color: rgba(255, 255, 255, .55); font: 600 .84rem/1.25 var(--display); }
.sn-hero__dot span { display: block; height: 3px; background: rgba(255, 255, 255, .22); border-radius: 2px; overflow: hidden; margin-bottom: 10px; position: relative; }
.sn-hero__dot span::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.sn-hero__dot b { color: inherit; font-weight: 600; }
.sn-hero__dot.is-active { color: #fff; }
.sn-hero__dot.is-active span::after { animation: dotfill var(--dur, 7s) linear forwards; }
.sn-hero.paused .sn-hero__dot.is-active span::after { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }
.sn-hero__scroll { display: none; position: absolute; z-index: 3; right: var(--pad); bottom: 104px; width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 16px; }
.sn-hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--amber); animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }
.sn-wave { position: absolute; left: 0; right: 0; width: 100%; height: 70px; z-index: 2; pointer-events: none; }
.sn-wave.is-bottom { bottom: -1px; }
@media (max-width: 760px) {
	.sn-hero { min-height: 600px; }
	.sn-slide__inner { padding: 110px var(--gut) 170px; gap: 20px; }
	.sn-hero__dot b { display: none; }
	.sn-hero__nav { bottom: 70px; }
	.sn-hero__scroll { display: none; }
	.sn-wave { height: 40px; }
}

/* ================= Inner page hero ================= */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; min-height: 520px; display: flex; align-items: center; }
.page-hero__bg { position: absolute; inset: -60px 0; background-size: cover; background-position: center; z-index: -2; animation: heroZoom 14s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.18); } to { transform: scale(1); } }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6, 26, 51, .94) 0%, rgba(6, 26, 51, .8) 50%, rgba(0, 87, 176, .4) 100%); }
.page-hero .wrap { width: 100%; padding-block: 170px 120px; }
.page-hero__copy { display: grid; gap: 22px; max-width: 800px; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.3rem); }
.page-hero .lead { color: var(--on-dark); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.page-hero__copy > * { animation: rise .9s var(--ease) both; }
.page-hero__copy > :nth-child(2) { animation-delay: .12s; } .page-hero__copy > :nth-child(3) { animation-delay: .24s; } .page-hero__copy > :nth-child(4) { animation-delay: .36s; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a, .crumbs span { font: 620 .84rem/1 var(--display);  text-decoration: none; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-left: 4px solid var(--amber); border-radius: 4px; padding: 8px 11px 8px 10px; backdrop-filter: blur(4px); }
.crumbs a { color: var(--on-dark); border-left-color: rgba(255, 255, 255, .4); }
.crumbs a:hover { color: #fff; border-left-color: var(--sky); }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .page-hero { min-height: 440px; } .page-hero .wrap { padding-block: 140px 90px; } }

/* ================= Sections ================= */
.entry > * { margin: 0; }
.sn-section { position: relative; padding: 110px var(--pad); isolation: isolate; }
.sn-section.is-tight { padding-block: 80px; }
.sn-mist { background: var(--mist); }
.sn-navy { background: var(--navy); color: var(--on-dark); }
.sn-dark { background: var(--navy); color: var(--on-dark); overflow: hidden; }
.sn-dark h2, .sn-dark h3, .sn-dark strong, .sn-navy h2 { color: #fff; }
.sn-dark .sn-eyebrow { color: var(--amber); }
.sn-dark .lead { color: var(--on-dark); }
.sn-dark a:not(.wp-block-button__link):not(.sn-btn) { color: #8fd2f5; }
.sn-section > * + * { margin-top: 24px; }
.sn-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: 56px; }
.sn-head > * { margin: 0 !important; }
.sn-head.is-row { max-width: none; grid-template-columns: minmax(0, 760px) 1fr; align-items: end; column-gap: 48px; }
.sn-head.is-row > * { grid-column: 1; }
.sn-head.is-row > .more-link { grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: end; }
@media (max-width: 760px) { .sn-head.is-row { grid-template-columns: 1fr; } .sn-head.is-row > .more-link { grid-column: 1; grid-row: auto; justify-self: start; } }
.more-link a { display: inline-flex; align-items: center; gap: 10px; font: 660 1rem/1.2 var(--display);  color: var(--blue); text-decoration: none; }
.more-link a::after { content: ""; width: 28px; height: 2px; background: currentColor; transition: width .3s var(--ease); }
.more-link a:hover::after { width: 46px; }
.sn-pbg { position: absolute; inset: 0; z-index: -1; overflow: hidden; margin: 0 !important; }
.sn-pbg__img { position: absolute; inset: -18% 0; background-size: cover; background-position: center; }
.sn-pbg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(6, 26, 51, .95) 0%, rgba(6, 26, 51, .86) 55%, rgba(0, 87, 176, .55) 100%); }

.sn-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.sn-split > * { margin: 0 !important; }
.sn-split.is-flip > :first-child { order: 2; }
.sn-split.is-top { align-items: start; }
.sn-stack { display: grid; gap: 20px; align-content: start; justify-items: start; }
.sn-stack > * { margin: 0 !important; }
.sn-stack > h3 { margin-top: 12px !important; }
@media (max-width: 900px) { .sn-split { grid-template-columns: 1fr; gap: 44px; } .sn-split.is-flip > :first-child { order: 0; } }

.sn-grid-2, .sn-grid-3, .sn-grid-4 { display: grid; gap: 28px; }
.sn-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sn-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sn-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sn-grid-2 > *, .sn-grid-3 > *, .sn-grid-4 > * { margin: 0 !important; }
@media (max-width: 1000px) { .sn-grid-4, .sn-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sn-grid-2, .sn-grid-3, .sn-grid-4 { grid-template-columns: 1fr; } }

/* Feature item: lifts and glows under the cursor */
.sn-item { position: relative; display: grid; gap: 10px; align-content: start; padding: 30px 28px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.sn-item::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--amber), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.sn-item:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.sn-item:hover::before { transform: none; }
.sn-item > * { margin: 0 !important; position: relative; }
.sn-item p { font-size: 1rem; }
.sn-mist .sn-item { border-color: transparent; }

/* Photos */
.sn-photo { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-lg); }
.sn-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); transition: transform 1.2s var(--ease); }
.sn-photo:hover img { transform: scale(1.06); }
.sn-photo.is-tall img { aspect-ratio: 4 / 5; }
.sn-collage { position: relative; padding: 0 60px 60px 0; }
.sn-collage > * { margin: 0 !important; }
.sn-collage .sn-photo.is-small { position: absolute; right: 0; bottom: 0; width: 52%; border: 8px solid #fff; border-radius: 18px; box-shadow: var(--shadow); }
.sn-collage::before { content: ""; position: absolute; left: -26px; top: -26px; width: 140px; height: 140px; border-radius: 18px; background: radial-gradient(circle, var(--amber) 2px, transparent 2.5px) 0 0 / 16px 16px; z-index: -1; }
@media (max-width: 640px) { .sn-collage { padding: 0 30px 40px 0; } }

/* Check list */
.sn-checks { list-style: none; padding: 0; display: grid; gap: 14px; }
.sn-checks li { position: relative; padding-left: 36px; }
.sn-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23061a33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Region tags */
.sn-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sn-tag, .sn-tags li { display: inline-flex; align-items: center; font: 620 .88rem/1 var(--display);  color: var(--ink); background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: 4px; padding: 10px 13px 10px 11px; white-space: nowrap; transition: transform .25s var(--ease), border-color .25s; }
.sn-tags li:hover { transform: translateY(-3px); border-left-color: var(--amber); }
.sn-dark .sn-tags li { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); border-left-color: var(--amber); color: #fff; backdrop-filter: blur(4px); }

/* ================= Logos marquee ================= */
.sn-logos { padding: 48px var(--pad); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.sn-logos p { font-size: .95rem; color: var(--muted); max-width: 22ch; }
.sn-logos .track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sn-logos ul { list-style: none; padding: 0; display: flex; gap: 80px; align-items: center; width: max-content; }
.sn-logos ul.marquee { animation: marquee 30s linear infinite; }
.sn-logos .track:hover ul { animation-play-state: paused; }
.sn-logos img { height: 34px; width: auto; filter: grayscale(1); opacity: .55; transition: filter .3s, opacity .3s, transform .3s; }
.sn-logos img:hover { filter: none; opacity: 1; transform: scale(1.08); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .sn-logos { grid-template-columns: 1fr; gap: 18px; } .sn-logos ul { gap: 48px; } }

/* ================= Counters ================= */
.sn-counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.sn-counter { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 10px 20px; position: relative; }
.sn-counter + .sn-counter::before { content: ""; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: rgba(255, 255, 255, .14); }
.sn-counter .num { font: 800 clamp(2.8rem, 5vw, 4.4rem)/1 var(--display);  color: var(--amber); font-variant-numeric: tabular-nums; }
.sn-counter .lbl { color: var(--on-dark); font-size: 1rem; }
@media (max-width: 760px) { .sn-counters { grid-template-columns: 1fr 1fr; row-gap: 36px; } .sn-counter:nth-child(3)::before { display: none; } }

/* ================= Service carousel ================= */
.sn-carousel { position: relative; margin-right: calc(-1 * var(--pad)); }
.sn-carousel__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px var(--pad) 30px 0; scrollbar-width: none; cursor: grab; }
.sn-carousel__track::-webkit-scrollbar { display: none; }
.sn-carousel__track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.sn-card { position: relative; flex: 0 0 min(360px, 82vw); height: 460px; border-radius: 18px; overflow: hidden; scroll-snap-align: start; color: #fff; text-decoration: none; display: flex; align-items: flex-end; isolation: isolate; box-shadow: 0 24px 40px -30px rgba(6, 26, 51, .7); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .2s ease-out, box-shadow .35s; }
.sn-card:hover { color: #fff; box-shadow: 0 34px 60px -30px rgba(6, 26, 51, .9); }
.sn-card__img { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transition: transform 1s var(--ease); }
.sn-card:hover .sn-card__img { transform: scale(1.1); }
.sn-card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 26, 51, .05) 20%, rgba(6, 26, 51, .92) 85%); transition: background .4s; }
.sn-card:hover .sn-card__shade { background: linear-gradient(180deg, rgba(0, 87, 176, .35) 0%, rgba(6, 26, 51, .95) 75%); }
.sn-card__num { position: absolute; top: 22px; left: 24px; font: 800 1rem/1 var(--display); color: var(--amber); letter-spacing: .04em; }
.sn-card__body { display: grid; gap: 10px; padding: 28px 26px; }
.sn-card__title { font: 720 1.45rem/1.15 var(--display);  }
.sn-card__text { color: #d4deea; font-size: .98rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.sn-card:hover .sn-card__text, .sn-card:focus .sn-card__text { max-height: 120px; opacity: 1; }
.sn-card__more { display: inline-flex; align-items: center; gap: 10px; font: 660 .95rem/1 var(--display); color: var(--amber); }
.sn-card__more::after { content: ""; width: 22px; height: 2px; background: currentColor; transition: width .3s var(--ease); }
.sn-card:hover .sn-card__more::after { width: 40px; }
.sn-carousel__nav { display: flex; align-items: center; gap: 16px; padding-right: var(--pad); }
.sn-carousel__btn { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid #b8c6d8; background: #fff; cursor: pointer; display: grid; place-items: center; transition: background .25s, border-color .25s, transform .25s; }
.sn-carousel__btn:hover { background: var(--amber); border-color: var(--amber); transform: scale(1.06); }
.sn-carousel__btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sn-carousel__bar { flex: 1; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.sn-carousel__bar span { display: block; height: 100%; width: 20%; background: var(--blue); border-radius: 2px; transition: transform .2s; }
@media (max-width: 640px) { .sn-card { height: 400px; } .sn-card__text { max-height: 120px; opacity: 1; } }

/* ================= Flip cards (services, SLAs) ================= */
.sn-flips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sn-flips > :first-child { grid-column: span 2; }
.sn-slas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.sn-flip { perspective: 1200px; height: 380px; outline: none; }
.sn-flip.is-sla { height: 340px; }
.sn-flip__inner { position: relative; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.sn-flip:hover .sn-flip__inner, .sn-flip:focus-within .sn-flip__inner, .sn-flip.flipped .sn-flip__inner { transform: rotateY(180deg); }
.sn-flip__front, .sn-flip__back { position: absolute; inset: 0; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; display: flex; flex-direction: column; padding: 28px; }
.sn-flip__front { background-size: cover; background-position: center; color: #fff; justify-content: flex-end; gap: 8px; }
.sn-flip__front::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 26, 51, .1) 25%, rgba(6, 26, 51, .9) 90%); }
.sn-flip__front > * { position: relative; }
.sn-flip__title { font: 720 1.4rem/1.15 var(--display);  }
.sn-flip__hint { font-size: .86rem; color: var(--amber); font-weight: 600; }
.sn-flip__back { transform: rotateY(180deg); background: linear-gradient(150deg, var(--blue) 0%, var(--navy) 100%); color: var(--on-dark); justify-content: center; gap: 16px; }
.sn-flip__back .sn-flip__title { color: #fff; }
.sn-flip__back p { font-size: 1rem; }
.sn-flip__back ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.sn-flip__back li { padding-left: 22px; position: relative; }
.sn-flip__back li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.sn-flip__back .sn-btn { justify-self: start; align-self: flex-start; padding: 14px 20px; }
.sn-flip__front.is-solid { justify-content: center; gap: 6px; background: var(--navy); }
.sn-flip__front.is-solid::before { background: radial-gradient(circle at 80% 10%, rgba(0, 163, 224, .35), transparent 55%); }
.sn-flip__front.tone-0 { background: linear-gradient(150deg, #0b2648, #061a33); }
.sn-flip__front.tone-1 { background: linear-gradient(150deg, #0057b0, #003f87); }
.sn-flip__front.tone-2 { background: linear-gradient(150deg, #00739f, #004f7a); }
.sn-flip__front.tone-3 { background: linear-gradient(150deg, #1b2f4f, #0a2342); }
.sn-flip__front .tier { font: 700 1.05rem/1 var(--display); color: var(--amber); }
.sn-flip__front .when { font: 800 clamp(1.7rem, 2.4vw, 2.2rem)/1.05 var(--display);  color: #fff; }
.sn-flip__front .sub { color: var(--on-dark); }
.sn-flip__front.is-solid .sn-flip__hint { margin-top: 20px; }
@media (max-width: 1000px) { .sn-flips { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sn-flips > :first-child { grid-column: 1 / -1; } .sn-slas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sn-flips, .sn-slas { grid-template-columns: 1fr; } .sn-flips > :first-child { grid-column: auto; } .sn-flip { height: 340px; } }
@media (hover: none) { .sn-flip:hover .sn-flip__inner { transform: none; } .sn-flip.flipped .sn-flip__inner { transform: rotateY(180deg); } .sn-flip__hint::after { content: " (tap)"; } }

/* ================= Map ================= */
.sn-map svg { width: 100%; }
.sn-map .land { fill: none; stroke: #9db7d4; stroke-width: 4.2; stroke-linecap: round; }
.sn-dark .sn-map .land { stroke: rgba(143, 190, 240, .38); }
.sn-map .arcs path { fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-dasharray: 5 6; opacity: .8; animation: dash 1.4s linear infinite; }
.sn-map .pin .dot { fill: var(--amber); stroke: #fff; stroke-width: 1.6; }
.sn-map .pin .pulse { fill: rgba(255, 180, 0, .4); transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes dash { to { stroke-dashoffset: -22; } }
@keyframes pulse { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }

/* ================= Steps with a line that draws on scroll ================= */
.sn-steps { list-style: none; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.sn-steps::before { content: ""; position: absolute; top: 31px; left: 32px; right: 12%; height: 3px; background: linear-gradient(90deg, var(--amber), var(--sky)); transform: scaleX(var(--draw, 0)); transform-origin: left; transition: transform 1.6s var(--ease); }
.sn-steps.in { --draw: 1; }
.sn-steps li { counter-increment: s; display: grid; gap: 10px; align-content: start; padding-top: 86px; position: relative; font-size: 1rem; }
.sn-steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 3px solid var(--blue); color: var(--blue); font: 800 1.4rem/1 var(--display); z-index: 1; box-shadow: 0 0 0 8px var(--mist); transition: background .3s, color .3s, transform .3s var(--ease); }
.sn-steps li:hover::before { background: var(--amber); border-color: var(--amber); color: var(--navy); transform: scale(1.1) rotate(-6deg); }
.sn-steps strong { display: block; font: 700 1.2rem/1.25 var(--display);  }
@media (max-width: 900px) { .sn-steps { grid-template-columns: 1fr 1fr; } .sn-steps::before { display: none; } }
@media (max-width: 560px) { .sn-steps { grid-template-columns: 1fr; } }

/* ================= Tables ================= */
.sn-table { margin: 0; overflow-x: auto; }
.sn-table table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 1rem; }
.sn-table table th, .sn-table table td { text-align: left; padding: 20px 18px; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.sn-table table thead { border: 0; }
.sn-table table th:first-child, .sn-table table td:first-child { padding-left: 0; }
.sn-table table thead th { font: 640 .9rem/1.2 var(--display); color: var(--muted); border-bottom: 2px solid var(--ink); }
.sn-table tbody td:first-child { font: 700 1.1rem/1.3 var(--display); color: var(--ink); white-space: nowrap; }
.sn-table tbody td:nth-child(2) { font: 700 1.1rem/1.3 var(--display); color: var(--blue); white-space: nowrap; }
.sn-table tbody tr { transition: background .2s; }
.sn-table tbody tr:hover { background: var(--mist); }
.sn-note { font-size: .92rem; color: var(--muted); }

/* ================= FAQ ================= */
.wp-block-details { border-top: 1px solid var(--line); padding: 0; margin: 0 !important; }
.wp-block-details:last-child { border-bottom: 1px solid var(--line); }
.wp-block-details summary { list-style: none; cursor: pointer; padding: 24px 56px 24px 0; position: relative; font: 660 1.14rem/1.35 var(--display);  color: var(--ink); transition: color .2s; }
.wp-block-details summary:hover { color: var(--blue); }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 4px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--mist); color: var(--blue); display: grid; place-items: center; font: 500 1.4rem/1 var(--text); transition: transform .3s var(--ease), background .3s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); background: var(--amber); color: var(--navy); }
.wp-block-details > :not(summary) { margin: 0 0 24px !important; max-width: 70ch; animation: rise .5s var(--ease); }
.sn-faq-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; }
.sn-faq-group + .sn-faq-group { margin-top: 64px; }
.sn-faq-group > * { margin: 0 !important; }
@media (max-width: 860px) { .sn-faq-group { grid-template-columns: 1fr; gap: 16px; } }

/* ================= Bands ================= */
.sn-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.sn-band > * { margin: 0 !important; }
@media (max-width: 760px) { .sn-band { grid-template-columns: 1fr; } }

.sn-cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--blue) 0%, var(--blue-deep) 60%, #062c5e 100%); color: #d9e7f7; isolation: isolate; }
.sn-cta::before, .sn-cta::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; animation: float 12s ease-in-out infinite; }
.sn-cta::before { width: 520px; height: 520px; right: -140px; top: -220px; border: 80px solid rgba(255, 255, 255, .06); }
.sn-cta::after { width: 260px; height: 260px; left: 8%; bottom: -170px; background: rgba(255, 180, 0, .18); filter: blur(10px); animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 24px); } }
.sn-cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding-block: 84px; }
.sn-cta h2 { color: #fff; }
.sn-cta p { margin-top: 14px; max-width: 58ch; }
.sn-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .sn-cta .wrap { grid-template-columns: 1fr; } }

/* ================= Contact + forms ================= */
.sn-lines { list-style: none; padding: 0; display: grid; gap: 18px; }
.sn-lines li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: var(--r-lg); background: var(--mist); transition: transform .3s var(--ease), box-shadow .3s; }
.sn-lines li:hover { transform: translateX(6px); box-shadow: 0 16px 30px -24px rgba(6, 26, 51, .6); }
.sn-lines .ic { width: 52px; height: 52px; padding: 13px; border-radius: 12px; background: var(--blue); fill: none; stroke: #fff; stroke-width: 1.8; }
.sn-lines small { display: block; font-size: .85rem; color: var(--muted); }
.sn-lines a { color: var(--ink); font-weight: 600; text-decoration: none; }
.sn-lines a:hover { color: var(--blue); }
.sn-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: #fff; border-radius: 18px; padding: 38px; box-shadow: 0 40px 80px -40px rgba(6, 26, 51, .5); border-top: 5px solid var(--amber); }
.sn-form__head { grid-column: 1 / -1; display: grid; gap: 6px; margin-bottom: 6px; }
.sn-form__head h2 { font-size: 1.8rem; }
.sn-form__head p { color: var(--muted); }
.sn-form .field { display: grid; gap: 7px; min-width: 0; }
.sn-form .field > * { min-width: 0; }
.sn-form .full { grid-column: 1 / -1; }
.sn-form label, .sn-form legend { font: 560 .92rem/1.3 var(--text); color: var(--ink); }
.sn-form label span, .sn-form legend span { color: #b4232a; }
.sn-form input:not([type=checkbox]):not([type=file]), .sn-form select, .sn-form textarea { width: 100%; font: 400 1rem/1.4 var(--text); color: var(--ink); background: #f7f9fc; border: 1.5px solid #d3dce8; border-radius: var(--r); padding: 14px 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.sn-form textarea { resize: vertical; min-height: 120px; }
.sn-form input:focus, .sn-form select:focus, .sn-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 87, 176, .14); background: #fff; }
.sn-form [aria-invalid="true"] { border-color: #b4232a !important; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.sn-form fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.sn-form fieldset legend { margin-bottom: 8px; }
.sn-form fieldset label, .sn-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--slate); }
.sn-form input[type=checkbox] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex-shrink: 0; }
.file-drop { display: flex; align-items: center; gap: 12px; border: 1.5px dashed #b8c6d8; border-radius: var(--r); padding: 12px 12px 12px 16px; cursor: pointer; background: #f7f9fc; width: 100%; transition: border-color .2s; }
.file-drop:hover, .file-drop:focus-within { border-color: var(--blue); }
.file-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; color: var(--slate); }
.file-btn { font: 640 .9rem/1 var(--display); color: #fff; background: var(--ink); padding: 10px 14px; border-radius: 6px; }
.sn-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 6px; }
.sn-form__foot small { color: var(--muted); font-size: .88rem; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: var(--r); font-size: .96rem; animation: rise .4s var(--ease); }
.form-status.ok { background: #e8f6ee; color: #145c34; }
.form-status.err { background: #fdecec; color: #8d1c22; }
@media (max-width: 640px) { .sn-form { grid-template-columns: 1fr; padding: 26px 20px; } .sn-form fieldset { grid-template-columns: 1fr; } }

.sn-prose { max-width: 760px; }
.sn-prose h2 { font-size: 1.55rem; margin-top: 44px; }
.sn-prose h2:first-child { margin-top: 0; }
.sn-prose p, .sn-prose ul { margin-top: 14px; }

/* ================= Footer ================= */
.site-footer { background: var(--navy); color: #a9b9cd; font-size: .95rem; position: relative; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-block: 80px 56px; }
.foot-brand img { height: 50px; width: auto; transform: translateY(-5px); }
.foot-brand p { margin-top: 18px; max-width: 34ch; }
.site-footer h2 { font: 680 1.05rem/1.2 var(--display);  color: #fff; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 2px; background: var(--amber); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.site-footer a { color: #d3deeb; text-decoration: none; transition: color .2s, padding .25s var(--ease); }
.site-footer ul a:hover { color: var(--amber); padding-left: 6px; }
.site-footer address { font-style: normal; line-height: 1.55; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); transition: background .25s, border-color .25s, transform .25s; }
.social a:hover { background: var(--amber); border-color: var(--amber); transform: translateY(-3px); }
.social .ic { width: 18px; height: 18px; color: #fff; }
.social a:hover .ic { color: var(--navy); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-block: 22px; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-bottom a:hover { color: var(--amber); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--amber); cursor: pointer; display: grid; place-items: center; box-shadow: 0 14px 30px -14px rgba(6, 26, 51, .7); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .3s, transform .35s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.to-top circle { stroke: var(--navy); stroke-width: 2; fill: none; opacity: .25; }

/* ================= Cookie consent ================= */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 300; width: min(430px, calc(100vw - 40px)); background: #fff; color: var(--slate); border-top: 4px solid var(--amber); border-radius: var(--r-lg); box-shadow: 0 30px 60px -24px rgba(6, 26, 51, .55); padding: 22px; display: grid; gap: 16px; font-size: .93rem; line-height: 1.55; opacity: 0; transform: translateY(20px); transition: opacity .35s, transform .4s var(--ease); }
.cookie[hidden], .cookie-prefs[hidden] { display: none; }
.cookie.show { opacity: 1; transform: none; }
.cookie .cookie-title { font: 700 1.08rem/1.3 var(--display);  color: var(--ink); margin-bottom: 6px; }
.cookie-prefs { display: grid; gap: 10px; }
.cookie-prefs label { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
.cookie-prefs input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.cookie-prefs b { display: block; color: var(--ink); font-weight: 600; }
.cookie-prefs span { font-size: .88rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cbtn { flex: 1 1 auto; font: 640 .92rem/1 var(--display); padding: 12px 14px; border-radius: var(--r); cursor: pointer; border: 1.5px solid #b8c6d8; background: #fff; color: var(--ink); transition: border-color .2s, background .2s; }
.cbtn:hover { border-color: var(--ink); }
.cbtn.solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.cbtn.solid:hover { background: var(--navy); border-color: var(--navy); }
@media (max-width: 520px) { .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; } .cbtn { flex-basis: 100%; } }

/* ================= Scroll animations ================= */
.js [data-anim] { opacity: 0; transition: opacity .9s ease, transform 1s var(--ease), clip-path 1.2s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-anim="up"] { transform: translateY(50px); }
.js [data-anim="left"] { transform: translateX(-70px); }
.js [data-anim="right"] { transform: translateX(70px); }
.js [data-anim="zoom"] { transform: scale(.88); }
.js [data-anim="reveal"] { opacity: 1; clip-path: inset(0 100% 0 0); }
.js [data-anim].in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--amber), var(--sky)); transform-origin: 0 50%; transform: scaleX(0); z-index: 200; pointer-events: none; }

/* ================= Mouse effects (desktop pointers only) ================= */
.cursor-trail { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 400; opacity: 0; transition: opacity .3s; }
.has-cursor .cursor-trail { opacity: 1; }
.sn-spot { position: relative; }
.sn-spot::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(300px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 180, 0, .14), transparent 60%); opacity: 0; transition: opacity .3s; }
.sn-spot:hover::after { opacity: 1; }

/* ================= WordPress bits ================= */
.wp-block-image { margin: 0; }
.wp-block-image img { border-radius: var(--r-lg); }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.post-row { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-row h2 { font-size: 1.4rem; }
/* Header: solid white bar so the original full-colour logo always sits on white */
.masthead .site-header { background: #fff; box-shadow: 0 10px 30px -22px rgba(6, 26, 51, .6); }
.masthead .brand .logo-dark { opacity: 1; }
.masthead .brand .logo-light { display: none; }
.masthead .nav .menu > li > a { color: var(--ink); }
.masthead .nav .menu > li > a:hover, .masthead .nav .menu > li.current-menu-item > a, .masthead .nav .menu > li.current-menu-ancestor > a { color: var(--blue); }
.masthead .sub-toggle { color: var(--ink); }
.masthead .menu-btn { border-color: var(--line); }
.masthead .menu-btn .ic { stroke: var(--ink); }
.masthead .topbar { background: var(--navy); }
.masthead.scrolled { background: transparent; }
@media (max-width: 1020px) {
	.masthead.menu-open .site-header { background: transparent; box-shadow: none; }
	.masthead.menu-open .brand { background: #fff; border-radius: 10px; padding: 6px 10px; }
	.masthead.menu-open .brand .logo-dark { opacity: 1; }
	.masthead.menu-open .nav .menu > li > a, .masthead.menu-open .sub-toggle { color: #fff; }
	.masthead.menu-open .menu-btn .ic { stroke: #fff; }
}
/* Footer: original logo on a white card */
.foot-brand > a { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; line-height: 0; }
/* Custom cursor: brand-blue arrow, amber over anything clickable (no trail) */
html, body { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M3 2 L3 25 L9 19.5 L13 28.5 L17.5 26.5 L13.5 17.8 L21.5 17.8 Z' fill='%230057b0' stroke='%23ffffff' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2, auto; }
a, button, summary, label, select, [role="button"], .sn-flip, .sn-card, .menu-btn, .sn-hero__dot, .sub-toggle, .sn-hero__arrow, .sn-carousel__btn, .wp-block-details summary, .file-drop, .to-top, .cookie-prefs label, .cbtn { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M3 2 L3 25 L9 19.5 L13 28.5 L17.5 26.5 L13.5 17.8 L21.5 17.8 Z' fill='%23ffb400' stroke='%23061a33' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2, pointer; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), textarea { cursor: text; }
.cursor-trail { display: none !important; }
/* ================= Mobile polish (phones) ================= */
@media (max-width: 760px) {
	body { font-size: 16px; }
	.sn-section { padding-block: 56px; }
	.sn-section.is-tight { padding-block: 44px; }
	.sn-section > * + * { margin-top: 18px; }
	.sn-split { gap: 32px; }
	h2.wp-block-heading, .sn-section h2 { font-size: clamp(1.7rem, 7.4vw, 2.1rem); }
	.page-hero { min-height: 0; }
	.page-hero .wrap { padding-block: 150px 80px; }
	.page-hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
	/* photo collage: full width, overlap kept small */
	.sn-collage { padding: 0 0 48px; }
	.sn-collage .sn-photo:not(.is-small) img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
	.sn-collage .sn-photo.is-small { width: 48%; border-width: 5px; }
	.sn-collage::before { display: none; }
	/* counters: tighter */
	.sn-counters { gap: 22px 0; }
	.sn-counter { padding: 4px 10px; }
	.sn-counter .num { font-size: 2.6rem; }
	.sn-counter .lbl { font-size: .9rem; }
	/* steps: number beside the text */
	.sn-steps { gap: 18px; }
	.sn-steps li { padding: 0 0 0 64px; min-height: 48px; gap: 4px; }
	.sn-steps li::before { width: 46px; height: 46px; font-size: 1.05rem; border-width: 2px; }
	.sn-steps strong { font-size: 1.08rem; }
	/* flip cards: no flipping on phones, front and details shown as one card */
	.sn-flips, .sn-slas { gap: 14px; }
	.sn-flip, .sn-flip.is-sla { height: auto; perspective: none; }
	.sn-flip__inner { height: auto; transform: none !important; display: grid; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 30px -22px rgba(6, 26, 51, .6); }
	.sn-flip__front, .sn-flip__back { position: relative; inset: auto; transform: none; backface-visibility: visible; -webkit-backface-visibility: visible; border-radius: 0; padding: 20px; }
	.sn-flip__front { min-height: 150px; }
	.sn-flip__front.is-solid { min-height: 0; padding-bottom: 6px; }
	.sn-flip__front .sn-flip__hint { display: none; }
	.sn-flip__back { gap: 10px; padding-top: 14px; }
	.sn-flip__back .sn-flip__title { display: none; }
	.sn-flip__front .when { font-size: 1.7rem; }
	/* carousel cards a little shorter */
	.sn-card { min-height: 0; }
	/* CTA band and footer */
	.sn-cta { padding-block: 56px; }
	.sn-cta__actions { display: grid; gap: 10px; }
	.sn-cta__actions .sn-btn, .sn-split .wp-block-buttons .wp-block-button__link { width: 100%; justify-content: center; text-align: center; }
	.to-top { width: 44px; height: 44px; right: 14px; bottom: 14px; }
	.sn-hero__nav { bottom: 64px; }
	.sn-slide__inner { padding: 140px var(--gut) 150px; gap: 18px; }
	.sn-slide__title { font-size: clamp(2.1rem, 10vw, 2.7rem); }
	.sn-slide__actions { display: grid; width: 100%; gap: 10px; }
	.sn-slide__actions .sn-btn { width: 100%; justify-content: center; }
}
/* Mobile menu: full-screen overlay (stop grid alignment shrinking it) */
@media (max-width: 1020px) {
	.site-header .nav { justify-self: stretch; align-self: stretch; width: auto; left: 0; right: 0; top: 0; bottom: 0; padding-top: 160px; }
}
/* Mobile: compact CTA band and footer */
@media (max-width: 760px) {
	.sn-cta { padding-block: 0; }
	.sn-cta .wrap { padding-block: 48px; gap: 24px; }
	.sn-cta::before { width: 260px; height: 260px; right: -110px; top: -120px; border-width: 44px; }
	.sn-cta::after { display: none; }
	.foot-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-block: 44px 28px; }
	.foot-brand, .foot-grid > div:last-child { grid-column: 1 / -1; }
	.foot-brand img { height: 38px; transform: none; }
	.foot-brand > a { padding: 8px 12px; border-radius: 10px; }
	.foot-brand p { margin-top: 14px; }
	.site-footer h2 { margin-bottom: 14px; }
	.site-footer ul { gap: 9px; }
	.foot-bottom .wrap { padding-block: 18px 80px; }
}