/*
Theme Name: CJ Pressure Washing
Text Domain: cj-pressure-washing
Author: Into The Wild Studios
Description: Custom theme for CJ Pressure Washing, exterior cleaning in Surrey and Hampshire.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* ================= Tokens ================= */
:root {
	--navy: #061634;
	--navy-2: #0a2456;
	--navy-3: #10337a;
	--blue: #1462d6;
	--sky: #2aa8ff;
	--cyan: #4fdcff;
	--ice: #eef6ff;
	--ice-2: #dcebff;
	--ink: #0d1b33;
	--muted: #4d5f7e;
	--white: #fff;
	--wa: #25d366;
	--grad: linear-gradient(120deg, #1462d6 0%, #2aa8ff 55%, #4fdcff 100%);
	--grad-dark: linear-gradient(160deg, #061634 0%, #0a2456 55%, #10337a 100%);
	--glow: 0 0 0 1px rgba(79, 220, 255, .25), 0 10px 40px -8px rgba(42, 168, 255, .55);
	--shadow: 0 24px 60px -24px rgba(6, 22, 52, .35);
	--r: 18px;
	--r-lg: 28px;
	--display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
	--body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ease: cubic-bezier(.2, .8, .2, 1);
}

/* ================= Base ================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
	margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.7; color: var(--ink);
	background: var(--white); overflow-x: clip; -webkit-font-smoothing: antialiased;
	animation: pageIn .6s var(--ease) both;
}
body.is-leaving { opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-3); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; color: var(--navy); margin: 0 0 .6em; font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 700; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; }
@media (max-width: 900px) { .hide-md { display: none !important; } }
@media (max-width: 600px) { .hide-sm { display: none !important; } body { font-size: 16px; } }

/* ================= Buttons ================= */
.btn {
	--b: var(--blue);
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .85em 1.4em; border-radius: 999px; font-weight: 700; font-size: .98rem; line-height: 1.1;
	text-decoration: none; border: 0; cursor: pointer; position: relative; isolation: isolate; overflow: hidden;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn::after {
	content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn--primary, .site-footer .btn--primary { background: linear-gradient(120deg, #0f56c6 0%, #1a7ee8 60%, #22a0f5 100%); color: #fff; box-shadow: 0 8px 24px -8px rgba(20, 98, 214, .7); }
.btn--primary:hover { color: #fff; box-shadow: 0 14px 34px -8px rgba(42, 168, 255, .85); }
.btn--glow { animation: glowPulse 3s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { box-shadow: 0 8px 24px -8px rgba(20,98,214,.7), 0 0 0 0 rgba(79,220,255,.0); } 50% { box-shadow: 0 8px 30px -6px rgba(42,168,255,.9), 0 0 0 6px rgba(79,220,255,.15); } }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 24px -8px rgba(37, 211, 102, .7); }
.btn--wa:hover { color: #fff; background: #1fc15b; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { color: var(--blue); }
.btn--line { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn--line:hover { color: #fff; background: rgba(255,255,255,.16); }
.btn--outline { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--lg { padding: 1.05em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ================= Topbar & header ================= */
.topbar { background: var(--navy); color: #cfe3ff; font-size: .85rem; position: relative; z-index: 60; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; }
.topbar__l, .topbar__r { display: flex; align-items: center; gap: 18px; }
.topbar a, .topbar span { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--cyan); }
.topbar .ico { color: var(--cyan); }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid rgba(20, 98, 214, .1);
	transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(6,22,52,.45); background: rgba(255,255,255,.96); }
.header__in { display: flex; align-items: center; gap: 22px; min-height: 84px; transition: min-height .3s; }
.scrolled .header__in { min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__logo { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; transition: width .3s, height .3s; }
.scrolled .brand__logo { width: 54px; height: 54px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt strong { font-family: var(--display); font-size: 1.15rem; color: var(--navy); letter-spacing: -.01em; }
.brand__txt em { font-style: normal; font-size: .75rem; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.nav { margin-left: auto; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav__list > li { position: relative; }
.nav__list > li > a {
	display: flex; align-items: center; gap: 7px; padding: 10px 13px; border-radius: 12px;
	color: var(--navy); font-weight: 700; font-size: .95rem; text-decoration: none; transition: background .25s, color .25s;
}
.nav__list > li > a .ico { color: var(--blue); transition: transform .35s var(--ease); }
.nav__list > li > a .chev { width: .9em; height: .9em; color: var(--muted); }
.nav__list > li > a:hover, .nav__list > li > a[aria-current] { background: var(--ice); color: var(--blue); }
.nav__list > li > a:hover .ico:first-child { transform: translateY(-2px) scale(1.12); }
.drop {
	position: absolute; top: calc(100% + 10px); left: 50%; width: 520px; padding: 12px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
	background: #fff; border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(6,22,52,.4), 0 0 0 1px rgba(20,98,214,.08);
	opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: .3s var(--ease);
}
.drop::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; text-decoration: none; color: var(--navy); transition: background .2s; }
.drop a:hover { background: var(--ice); }
.drop a strong { display: block; font-size: .93rem; }
.drop a small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.drop__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; box-shadow: 0 6px 16px -6px rgba(20,98,214,.7); }
.drop--areas { width: 420px; }
.drop--areas .drop__ico { width: 32px; height: 32px; border-radius: 10px; }
.drop__all { grid-column: 1 / -1; justify-content: center; font-weight: 700; color: var(--blue) !important; background: var(--ice); }
.header__cta { flex: none; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--ice); color: var(--navy); cursor: pointer; place-items: center; }
.burger .ico { width: 26px; height: 26px; }

@media (max-width: 1180px) {
	.brand__txt { display: none; }
	.nav__list > li > a { padding: 10px 9px; font-size: .9rem; }
}
@media (max-width: 1000px) {
	.nav, .header__cta { display: none; }
	.burger { display: grid; }
	.brand__txt { display: flex; }
	.header__in { min-height: 72px; }
	.brand__logo { width: 54px; height: 54px; }
}

@media (max-width: 480px) {
	.header__in { gap: 10px; }
	.brand { min-width: 0; gap: 9px; }
	.brand__logo, .scrolled .brand__logo { width: 46px; height: 46px; }
	.brand__txt strong { font-size: .98rem; }
	.brand__txt em { font-size: .6rem; letter-spacing: .05em; }
	.burger { flex: none; width: 44px; height: 44px; }
}

/* Mobile nav */
.mnav { position: fixed; inset: 0; z-index: 100; background: rgba(6,22,52,.55); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: .3s; }
.mnav.open { opacity: 1; visibility: visible; }
.mnav__panel {
	position: absolute; top: 0; right: 0; height: 100%; width: min(380px, 88vw); overflow-y: auto;
	background: var(--grad-dark); color: #fff; padding: 18px 20px 30px;
	transform: translateX(100%); transition: transform .4s var(--ease);
}
.mnav.open .mnav__panel { transform: none; }
.mnav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mnav__logo { width: 58px; height: 58px; border-radius: 14px; background: #fff; object-fit: contain; }
.mnav__close { width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.mnav__label { margin: 16px 0 4px; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); font-weight: 800; }
.mnav__link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: #fff; text-decoration: none; font-weight: 600; }
.mnav__link .ico { color: var(--cyan); }
.mnav__link:hover { background: rgba(255,255,255,.08); color: #fff; }
.mnav__btns { display: grid; gap: 10px; margin-top: 22px; }

/* ================= Hero ================= */
.hero, .phero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero { min-height: min(92vh, 860px); display: flex; align-items: center; padding: 70px 0 130px; }
.hero__bg { position: absolute; inset: -4%; z-index: -3; background: var(--bg) center/cover no-repeat; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate(-1%, -1%); } }
.hero__shade {
	position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(60% 70% at 85% 20%, rgba(42,168,255,.35), transparent 60%),
		radial-gradient(50% 60% at 10% 90%, rgba(79,220,255,.18), transparent 60%),
		linear-gradient(100deg, rgba(6,22,52,.94) 0%, rgba(6,22,52,.82) 45%, rgba(10,36,86,.55) 100%);
}
.drops { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.drops i {
	position: absolute; bottom: -20px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #fff, rgba(79,220,255,.6) 50%, rgba(42,168,255,0) 70%);
	box-shadow: 0 0 12px rgba(79,220,255,.7); opacity: 0;
	animation: rise var(--t) linear var(--d) infinite;
}
@keyframes rise { 0% { transform: translateY(0) scale(.6); opacity: 0; } 10% { opacity: .9; } 90% { opacity: .5; } 100% { transform: translateY(-110vh) scale(1.2); opacity: 0; } }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em;
	color: var(--blue); padding: 7px 14px; border-radius: 999px; background: var(--ice); margin-bottom: 18px;
}
.eyebrow--light { color: #d9f6ff; background: rgba(79,220,255,.12); box-shadow: inset 0 0 0 1px rgba(79,220,255,.35); backdrop-filter: blur(6px); }
.eyebrow .ico { color: var(--cyan); }
.hero__title, .phero__title { color: #fff; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; margin-bottom: .3em; }
.hero__title span, .phero__title span, .grad-text {
	background: linear-gradient(100deg, #8fe9ff 0%, #4fdcff 35%, #2aa8ff 70%, #8fe9ff 100%); background-size: 200% auto;
	-webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite;
	filter: drop-shadow(0 0 22px rgba(79,220,255,.35));
}
.hero__title span { display: block; }
@keyframes shine { to { background-position: 200% center; } }
.hero__rot { font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; color: #cfe8ff; margin-bottom: .7em; }
.rot { color: #fff; border-bottom: 3px solid var(--cyan); display: inline-block; transition: opacity .35s, transform .35s; }
.rot.out { opacity: 0; transform: translateY(8px); }
.hero__sub, .phero__sub { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #d6e6ff; max-width: 620px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero__ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #e5f2ff; font-weight: 600; font-size: .95rem; }
.hero__ticks li { display: flex; align-items: center; gap: 8px; }
.hero__ticks .ico { color: var(--cyan); }
.hero__card { position: relative; }
.hero__cardglow { position: absolute; inset: -30px; background: radial-gradient(closest-side, rgba(42,168,255,.55), transparent); filter: blur(30px); z-index: -1; animation: float 7s ease-in-out infinite; }
.hero__card .ba { transform: rotate(1.5deg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 6px rgba(255,255,255,.12); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero__wave, .footer__wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero__wave svg, .footer__wave svg { width: 100%; height: 70px; display: block; }
.hero__wave path { fill: #fff; }
/* Load stagger */
.hero__copy > *, .phero__in > * { animation: up .9s var(--ease) both; }
.hero__copy > *:nth-child(2), .phero__in > *:nth-child(2) { animation-delay: .1s; }
.hero__copy > *:nth-child(3), .phero__in > *:nth-child(3) { animation-delay: .2s; }
.hero__copy > *:nth-child(4), .phero__in > *:nth-child(4) { animation-delay: .3s; }
.hero__copy > *:nth-child(5) { animation-delay: .4s; }
.hero__copy > *:nth-child(6) { animation-delay: .5s; }
.hero__card { animation: up 1.1s .35s var(--ease) both; }
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.phero { padding: 70px 0 120px; min-height: 440px; display: flex; align-items: center; }
.phero__title { font-size: clamp(2.2rem, 5.2vw, 3.9rem); max-width: 900px; }
.phero__title span { display: inline; }
.crumbs { font-size: .85rem; color: #bcd6ff; margin-bottom: 16px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.crumbs span, .crumbs .breadcrumb_last { color: #bcd6ff; }

@media (max-width: 960px) {
	.hero__in { grid-template-columns: 1fr; gap: 40px; }
	.hero { padding: 50px 0 110px; min-height: auto; }
	.hero__card .ba { transform: none; }
}
@media (max-width: 600px) {
	.hero__btns .btn { flex: 1 1 100%; }
	.phero { min-height: 380px; padding: 50px 0 100px; }
}

/* ================= Sections ================= */
.page-content { position: relative; }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(44px, 6vw, 70px) 0; }
.section--ice { background: linear-gradient(180deg, var(--ice) 0%, #f7fbff 100%); }
.section--navy { background: var(--grad-dark); color: #d6e6ff; overflow: hidden; isolation: isolate; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy::before {
	content: ''; position: absolute; width: 700px; height: 700px; right: -200px; top: -250px; z-index: -1;
	background: radial-gradient(closest-side, rgba(42,168,255,.35), transparent); filter: blur(10px);
	animation: float 9s ease-in-out infinite;
}
.section--bgimg { background: linear-gradient(rgba(6,22,52,.88), rgba(10,36,86,.85)), var(--bg) center/cover fixed; color: #d6e6ff; }
.section--bgimg h2, .section--bgimg h3 { color: #fff; }
.head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.head--left { margin-left: 0; text-align: left; }
.head p { color: var(--muted); font-size: 1.08rem; }
.section--navy .head p, .section--bgimg .head p { color: #bcd2f2; }
.lead { font-size: 1.15rem; color: var(--muted); }
.grad-text { filter: none; background: var(--grad); -webkit-background-clip: text; background-clip: text; animation: none; }
.section--navy .grad-text, .section--bgimg .grad-text { background: linear-gradient(100deg, #8fe9ff, #4fdcff, #2aa8ff); -webkit-background-clip: text; background-clip: text; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 32px; margin-bottom: .55em; }
.prose li::before {
	content: ''; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%;
	background: var(--grad) ; -webkit-mask: none;
	box-shadow: 0 4px 10px -3px rgba(20,98,214,.6);
}
.prose li::after { content: ''; position: absolute; left: 6px; top: calc(.35em + 5px); width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.section--navy .prose li, .section--bgimg .prose li { color: #e2eeff; }

.frame { position: relative; border-radius: var(--r-lg); }
.frame img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; box-shadow: var(--shadow); position: relative; z-index: 1; }
.frame::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--r-lg); background: var(--grad); opacity: .9; z-index: 0; }
.frame::after { content: ''; position: absolute; inset: -10%; background: radial-gradient(closest-side, rgba(42,168,255,.35), transparent); z-index: -1; filter: blur(20px); }
.frame__badge {
	position: absolute; z-index: 2; left: -14px; bottom: 26px; background: #fff; border-radius: 16px; padding: 12px 16px;
	display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); font-weight: 800; color: var(--navy); font-size: .92rem;
	animation: float 6s ease-in-out infinite;
}
.frame__badge .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--grad); color: #fff; }

@media (max-width: 900px) {
	.split { grid-template-columns: 1fr; }
	.split--rev > :first-child { order: 0; }
	.frame::before { inset: 12px -10px -12px 12px; }
	.frame__badge { left: 10px; }
}

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ================= Trust row ================= */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust__item {
	background: #fff; border-radius: var(--r); padding: 22px 20px; display: flex; flex-direction: column; gap: 4px;
	box-shadow: 0 14px 40px -24px rgba(6,22,52,.4), 0 0 0 1px rgba(20,98,214,.08); position: relative; overflow: hidden;
}
.trust__item::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.trust__item:hover::after { transform: scaleX(1); }
.trust__ico { width: 46px; height: 46px; border-radius: 14px; background: var(--ice); color: var(--blue); display: grid; place-items: center; margin-bottom: 8px; }
.trust__ico .ico { width: 24px; height: 24px; }
.trust__item strong { font-family: var(--display); color: var(--navy); font-size: 1.1rem; }
.trust__item span:last-child { color: var(--muted); font-size: .92rem; }
.trust-wrap { margin-top: -70px; position: relative; z-index: 3; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }

/* ================= Service cards ================= */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
	position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; text-decoration: none;
	background: #fff; color: var(--ink); box-shadow: 0 20px 50px -30px rgba(6,22,52,.45), 0 0 0 1px rgba(20,98,214,.08);
	transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.svc-card::before {
	content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: 3; pointer-events: none;
	background: conic-gradient(from var(--a, 0deg), transparent 0 60%, #4fdcff 75%, #1462d6 90%, transparent);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
	opacity: 0; transition: opacity .4s;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 34px 70px -30px rgba(20,98,214,.6); color: var(--ink); }
.svc-card:hover::before { opacity: 1; animation: spin 3s linear infinite; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.svc-card__img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.svc-card__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6,22,52,.55)); }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-card:hover .svc-card__img img { transform: scale(1.08); }
.svc-card__ico {
	position: relative; z-index: 2; margin: -28px 0 0 22px;
	width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff;
	background: var(--grad); box-shadow: var(--glow); transition: transform .5s var(--ease);
}
.svc-card:hover .svc-card__ico { transform: rotate(-8deg) scale(1.08); }
.svc-card__ico .ico { width: 28px; height: 28px; }
.svc-card__body { padding: 16px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-card__title { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--navy); line-height: 1.2; }
.svc-card__text { color: var(--muted); font-size: .96rem; flex: 1; }
.svc-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--blue); font-size: .93rem; }
.svc-card__more .ico { transition: transform .35s var(--ease); }
.svc-card:hover .svc-card__more .ico { transform: translateX(5px); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

/* ================= Before / after ================= */
.ba {
	position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3.3; background: var(--navy);
	box-shadow: var(--shadow); user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 18px rgba(79,220,255,.9); pointer-events: none; z-index: 2; }
.ba__knob {
	position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%); border-radius: 50%;
	background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 0 30px rgba(79,220,255,.9);
}
.ba__knob .ico { width: 18px; height: 18px; }
.ba__l { transform: rotate(90deg); margin-right: -3px; }
.ba__r { transform: rotate(-90deg); margin-left: -3px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; -webkit-appearance: none; appearance: none; }
.ba__tag {
	position: absolute; top: 14px; z-index: 2; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800;
	letter-spacing: .1em; text-transform: uppercase; pointer-events: none; backdrop-filter: blur(6px);
}
.ba__tag--b { left: 14px; background: rgba(6,22,52,.7); color: #fff; }
.ba__tag--a { right: 14px; background: rgba(255,255,255,.9); color: var(--blue); }
.ba__cap {
	position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 8px; pointer-events: none;
	padding: 8px 14px; border-radius: 12px; background: rgba(6,22,52,.72); color: #fff; font-weight: 700; font-size: .88rem; backdrop-filter: blur(8px);
}
.ba__cap .ico { color: var(--cyan); }
.ba.hint .ba__before, .ba.hint .ba__handle { transition: clip-path .9s var(--ease), left .9s var(--ease); }
.ba-grid { display: grid; gap: 24px; }
.ba-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ba-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .ba-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .ba-grid--3, .ba-grid--2 { grid-template-columns: 1fr; } }

/* ================= Steps ================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step {
	position: relative; padding: 30px 22px 24px; border-radius: var(--r); background: rgba(255,255,255,.06);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); backdrop-filter: blur(8px); counter-increment: s; transition: transform .4s var(--ease), background .4s;
}
.step:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.step::before {
	content: counter(s, decimal-leading-zero); position: absolute; top: 18px; right: 20px; font-family: var(--display); font-weight: 800; font-size: 2.4rem;
	background: linear-gradient(180deg, rgba(79,220,255,.7), rgba(79,220,255,0)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step .ico { width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: var(--grad); color: #fff; box-shadow: var(--glow); margin-bottom: 16px; }
.step h3 { margin-bottom: .35em; }
.step p { margin: 0; font-size: .95rem; color: #bcd2f2; }
.section--ice .step, .section .steps--light .step { background: #fff; box-shadow: 0 16px 40px -26px rgba(6,22,52,.45), 0 0 0 1px rgba(20,98,214,.08); }
.steps--light .step p { color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ================= Feature cards ================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
	background: #fff; border-radius: var(--r); padding: 28px 24px; box-shadow: 0 18px 46px -28px rgba(6,22,52,.45), 0 0 0 1px rgba(20,98,214,.08);
	transition: transform .45s var(--ease), box-shadow .45s var(--ease); position: relative; overflow: hidden;
}
.card::before { content: ''; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%; background: radial-gradient(closest-side, rgba(79,220,255,.22), transparent); transition: transform .6s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px -28px rgba(20,98,214,.55); }
.card:hover::before { transform: scale(1.6); }
.card > .ico { width: 50px; height: 50px; padding: 12px; border-radius: 15px; background: var(--grad); color: #fff; box-shadow: var(--glow); margin-bottom: 16px; }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.section--navy .card { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.section--navy .card p { color: #bcd2f2; }
@media (max-width: 960px) { .cards, .cards--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; } }

/* ================= FAQ ================= */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 16px; box-shadow: 0 12px 34px -24px rgba(6,22,52,.45), 0 0 0 1px rgba(20,98,214,.1); overflow: hidden; transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 18px 44px -24px rgba(20,98,214,.55), 0 0 0 1.5px rgba(42,168,255,.5); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; font-family: var(--display); font-weight: 700; font-size: 1.08rem; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%;
	display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--body); font-size: 1.3rem; line-height: 1; transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq__a { padding: 0 22px 20px; color: var(--muted); }
.faq .faq__a p:last-child { margin: 0; }

/* ================= Areas ================= */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.areas__group { background: #fff; border-radius: var(--r); padding: 24px; box-shadow: 0 16px 40px -28px rgba(6,22,52,.45), 0 0 0 1px rgba(20,98,214,.08); }
.areas__group h3 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; }
.areas__group h3 .ico { color: var(--blue); }
.areas__group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.areas__group li { padding: 6px 12px; border-radius: 999px; background: var(--ice); font-size: .88rem; font-weight: 600; color: var(--navy-2); }
.areas__group li.is-page { background: var(--grad); padding: 0; }
.areas__group li.is-page a { display: block; padding: 6px 12px; color: #fff; text-decoration: none; }
@media (max-width: 960px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .areas { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700; font-size: .9rem; text-decoration: none; box-shadow: 0 0 0 1px rgba(20,98,214,.18); transition: .3s var(--ease); }
.chip .ico { color: var(--blue); }
.chip:hover { background: var(--blue); color: #fff; transform: translateY(-2px); box-shadow: var(--glow); }
.chip:hover .ico { color: #fff; }
.section--navy .chip { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.section--navy .chip .ico { color: var(--cyan); }

/* Marquee */
.marquee { overflow: hidden; background: var(--grad); color: #fff; padding: 16px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marq 70s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.marquee .ico { opacity: .8; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ================= Gallery ================= */
.gallery { columns: 4 240px; column-gap: 16px; }
.gallery__item { display: block; margin-bottom: 16px; border-radius: 16px; overflow: hidden; position: relative; break-inside: avoid; box-shadow: 0 14px 34px -22px rgba(6,22,52,.5); }
.gallery__item img { width: 100%; transition: transform .7s var(--ease); }
.gallery__item span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(6,22,52,.45); color: #fff; opacity: 0; transition: opacity .35s; }
.gallery__item span .ico { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--grad); box-shadow: var(--glow); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover span { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,22,52,.92); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: up .4s var(--ease); }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; display: grid; place-items: center; cursor: pointer; }

/* ================= CTA band ================= */
.cta-band { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--grad-dark); color: #d6e6ff; isolation: isolate; margin: 0 auto; }
.cta-band__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 80% at 90% 0%, rgba(79,220,255,.45), transparent 60%), radial-gradient(40% 80% at 0% 100%, rgba(20,98,214,.6), transparent 60%); animation: float 8s ease-in-out infinite; }
.cta-band__inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: clamp(32px, 5vw, 60px); }
.cta-band h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { margin: 0; color: #bcd2f2; }
.cta-band__btns { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__btns .btn { width: 100%; } }

/* ================= Form ================= */
.qform { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 70px -30px rgba(6,22,52,.5), 0 0 0 1px rgba(20,98,214,.1); position: relative; }
.qform::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--grad); }
.qform__head { margin-bottom: 20px; }
.qform__ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; box-shadow: var(--glow); margin-bottom: 12px; }
.qform__head h3 { font-size: 1.6rem; margin-bottom: .25em; }
.qform__head p { color: var(--muted); margin: 0; font-size: .95rem; }
.qform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.qform label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .86rem; color: var(--navy); }
.qform label.full { grid-column: 1 / -1; }
.qform input, .qform select, .qform textarea {
	font: inherit; font-weight: 500; font-size: 1rem; padding: 13px 15px; border-radius: 12px; border: 1.5px solid #d3e2f7; background: #f7fbff; color: var(--ink);
	transition: border-color .25s, box-shadow .25s, background .25s; width: 100%;
}
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: 0; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(42,168,255,.18); }
.qform .err { border-color: #e04848; }
.qform__note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
.qform__note .ico { color: var(--blue); }
.qform__msg { margin-top: 14px; font-weight: 700; }
.qform__msg.ok { padding: 14px 16px; border-radius: 12px; background: #e9fbf0; color: #146c3a; }
.qform__msg.bad { padding: 14px 16px; border-radius: 12px; background: #fdecec; color: #a12828; }
.qform__msg a { color: inherit; }
.qform.sending button { opacity: .7; pointer-events: none; }
@media (max-width: 560px) { .qform__grid { grid-template-columns: 1fr; } }

.ccards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ccard { display: flex; flex-direction: column; gap: 2px; padding: 22px; border-radius: var(--r); background: #fff; color: var(--muted); text-decoration: none; font-size: .92rem; box-shadow: 0 16px 40px -26px rgba(6,22,52,.45), 0 0 0 1px rgba(20,98,214,.08); transition: .4s var(--ease); word-break: break-word; }
.ccard span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 10px; box-shadow: var(--glow); }
.ccard span .ico { width: 22px; height: 22px; }
.ccard strong { color: var(--navy); font-family: var(--display); font-size: 1.15rem; }
a.ccard:hover { transform: translateY(-5px); color: var(--muted); }
.ccard--wa span { background: var(--wa); box-shadow: 0 8px 24px -8px rgba(37,211,102,.7); }
@media (max-width: 960px) { .ccards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ccards { grid-template-columns: 1fr; } }

/* ================= Footer ================= */
.site-footer { position: relative; background: var(--navy); color: #a9c0e4; padding: 110px 0 0; margin-top: 0; }
.footer__wave { top: -1px; bottom: auto; transform: rotate(180deg); }
.footer__wave path { fill: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 20px; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #a9c0e4; text-decoration: none; transition: color .2s; }
.site-footer a:not(.btn):hover { color: var(--cyan); }
.footer__logo { display: inline-block; background: #fff; border-radius: 18px; padding: 6px; margin-bottom: 16px; box-shadow: 0 0 40px rgba(42,168,255,.35); }
.footer__logoimg { width: 92px; height: 92px; object-fit: contain; }
.footer__brand p { font-size: .95rem; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; transition: .3s var(--ease); }
.footer__social a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); box-shadow: var(--glow); }
.footer__contact li a, .footer__contact li span { display: flex; align-items: center; gap: 10px; word-break: break-word; }
.footer__contact .ico { color: var(--cyan); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } .site-footer { padding-bottom: 70px; } }

/* ================= Floating buttons ================= */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 62px; height: 62px; border-radius: 50%;
	display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 30px -6px rgba(37,211,102,.7);
	transition: transform .35s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .ico { width: 34px; height: 34px; position: relative; z-index: 1; }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: ping 2.2s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(1.7); opacity: 0; } }
.wa-float__tip {
	position: absolute; right: 74px; top: 50%; transform: translateY(-50%) translateX(8px); white-space: nowrap; background: #fff; color: var(--navy);
	font-weight: 700; font-size: .88rem; padding: 8px 14px; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; transition: .3s var(--ease); pointer-events: none;
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: translateY(-50%); }
.call-float { display: none; position: fixed; left: 16px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--glow); }
.call-float .ico { width: 26px; height: 26px; }
.totop { position: fixed; right: 30px; bottom: 96px; z-index: 89; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: var(--shadow); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease); }
.totop .ico { transform: rotate(180deg); }
.totop.show { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 760px) { .call-float { display: grid; } .wa-float { width: 58px; height: 58px; right: 16px; } .totop { right: 24px; bottom: 90px; } }

/* ================= Misc content ================= */
.note-box { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--ice); color: var(--navy-2); border-left: 4px solid var(--sky); }
.note-box .ico { color: var(--blue); width: 24px; height: 24px; margin-top: 3px; }
.stack > * + * { margin-top: 18px; }
.center { text-align: center; }
.mt { margin-top: 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.mini-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
@media (max-width: 560px) { .mini-list { grid-template-columns: 1fr; } }
.contact-grid .ccards { grid-template-columns: 1fr 1fr; margin-top: 20px; }
@media (max-width: 480px) { .contact-grid .ccards { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   V2 UPGRADE: bold geometric type, gradients everywhere, better numbers
   ===================================================================== */
:root {
	--display: 'League Spartan', 'Manrope', system-ui, sans-serif;
	--grad-border: linear-gradient(135deg, rgba(42,168,255,.7), rgba(20,98,214,.08) 38%, rgba(20,98,214,.08) 62%, rgba(79,220,255,.7));
	--grad-num: linear-gradient(160deg, #b8f1ff 0%, #4fdcff 35%, #2aa8ff 65%, #1462d6 100%);
	--grad-num-dark: linear-gradient(160deg, #2aa8ff 0%, #1462d6 55%, #0a2456 100%);
}
::selection { background: #2aa8ff; color: #fff; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #eaf2fd; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #4fdcff, #1462d6); border-radius: 10px; border: 2px solid #eaf2fd; }

/* ---- Typography: heavy, geometric, capitals ---- */
h1, h2, h3, h4, .brand__txt strong, .svc-card__title, .qform__head h3, .ccard strong, .trust__item strong { font-family: var(--display); }
h1, h2, .hero__title, .phero__title, .cta-band h2 { text-transform: uppercase; font-weight: 900; letter-spacing: -.005em; line-height: .98; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
h3 { font-weight: 800; letter-spacing: -.005em; }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: .95; }
.phero__title { font-size: clamp(2.3rem, 5.4vw, 4.3rem); line-height: .95; }
.brand__txt strong { font-weight: 900; text-transform: uppercase; letter-spacing: .01em; font-size: 1.18rem; }
.svc-card__title { font-weight: 800; font-size: 1.4rem; }
.btn { font-family: var(--display); font-weight: 800; letter-spacing: .02em; font-size: 1.02rem; padding-top: .95em; }
.nav__list > li > a { font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .01em; padding-top: 12px; }
.eyebrow { font-family: var(--display); font-weight: 800; letter-spacing: .16em; padding-top: 8px; }
.hero__rot { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; font-weight: 800; }
.topbar a, .footer__contact a { font-variant-numeric: tabular-nums; font-weight: 600; }

/* Gradient headings */
.section h2, .entry h2 {
	background: linear-gradient(100deg, #061634 0%, #0f3b8c 55%, #1462d6 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.section--navy h2, .section--bgimg h2, .cta-band h2, .section .cta-band h2 {
	background: linear-gradient(180deg, #ffffff 30%, #a9e4ff 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-text { background: linear-gradient(100deg, #1462d6, #2aa8ff 55%, #4fdcff) !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent; }
.section--navy .grad-text, .section--bgimg .grad-text { background: linear-gradient(100deg, #8fe9ff, #4fdcff, #2aa8ff) !important; -webkit-background-clip: text !important; background-clip: text !important; }
.hero__title, .phero__title { background: linear-gradient(180deg, #ffffff 40%, #cdeeff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title span, .phero__title span { -webkit-text-fill-color: transparent; }

/* ---- Gradient backgrounds throughout ---- */
.topbar { background: linear-gradient(90deg, #04102a 0%, #0a2456 50%, #04102a 100%); }
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, #1462d6 20%, #4fdcff 50%, #1462d6 80%, transparent); background-size: 200% 100%; animation: flow 6s linear infinite; }
@keyframes flow { to { background-position: 200% 0; } }
.section {
	background:
		radial-gradient(700px 420px at 0% 0%, rgba(42,168,255,.09), transparent 65%),
		radial-gradient(640px 420px at 100% 100%, rgba(79,220,255,.10), transparent 65%),
		#fff;
}
.section--ice {
	background:
		radial-gradient(900px 500px at 100% 0%, rgba(79,220,255,.22), transparent 60%),
		radial-gradient(800px 500px at 0% 100%, rgba(20,98,214,.12), transparent 60%),
		linear-gradient(180deg, #e9f3ff 0%, #f5f9ff 55%, #e6f1ff 100%);
}
.section--navy {
	background:
		radial-gradient(800px 500px at 0% 100%, rgba(20,98,214,.55), transparent 60%),
		radial-gradient(700px 500px at 100% 0%, rgba(79,220,255,.28), transparent 60%),
		linear-gradient(160deg, #04102a 0%, #0a2456 55%, #10337a 100%);
}
.section--bgimg { background: linear-gradient(135deg, rgba(4,16,42,.93) 0%, rgba(10,36,86,.86) 55%, rgba(20,98,214,.72) 100%), var(--bg) center/cover fixed; }
.site-footer {
	background:
		radial-gradient(700px 400px at 100% 0%, rgba(42,168,255,.22), transparent 60%),
		radial-gradient(600px 400px at 0% 100%, rgba(20,98,214,.3), transparent 60%),
		linear-gradient(180deg, #061634 0%, #04102a 100%);
}
.footer__base { border-image: linear-gradient(90deg, transparent, rgba(79,220,255,.4), transparent) 1; border-top: 1px solid; }
.marquee { background: linear-gradient(90deg, #0f56c6, #2aa8ff, #4fdcff, #2aa8ff, #0f56c6); background-size: 300% 100%; animation: flow 10s linear infinite; }

/* Scroll progress bar */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: var(--p, 0%); z-index: 120; background: linear-gradient(90deg, #1462d6, #2aa8ff, #4fdcff); box-shadow: 0 0 12px rgba(79,220,255,.8); pointer-events: none; }
.admin-bar .progress { top: 32px; }

/* ---- Gradient borders + cursor glow on cards ---- */
.card, .trust__item, .areas__group, .faq details, .ccard, .qform, .svc-card {
	border: 1.5px solid transparent;
	background:
		radial-gradient(320px circle at var(--mx, -400px) var(--my, -400px), rgba(79,220,255,.16), transparent 60%) padding-box,
		linear-gradient(180deg, #fff, #f8fbff) padding-box,
		var(--grad-border) border-box;
	box-shadow: 0 20px 50px -30px rgba(6,22,52,.45);
}
.section--navy .card, .section--navy .step, .section--bgimg .step {
	background:
		radial-gradient(320px circle at var(--mx, -400px) var(--my, -400px), rgba(79,220,255,.18), transparent 60%) padding-box,
		linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)) padding-box,
		linear-gradient(135deg, rgba(79,220,255,.55), rgba(255,255,255,.08) 40%, rgba(255,255,255,.08) 60%, rgba(42,168,255,.55)) border-box;
	border: 1.5px solid transparent; box-shadow: 0 20px 50px -30px rgba(0,0,0,.6);
}
.section--ice .step, .steps--light .step {
	border: 1.5px solid transparent;
	background:
		radial-gradient(320px circle at var(--mx, -400px) var(--my, -400px), rgba(79,220,255,.16), transparent 60%) padding-box,
		linear-gradient(180deg, #fff, #f6faff) padding-box, var(--grad-border) border-box;
}
.qform::before { background: linear-gradient(90deg, #1462d6, #2aa8ff, #4fdcff, #2aa8ff, #1462d6); background-size: 200% 100%; animation: flow 5s linear infinite; inset: -1.5px -1.5px auto; }
.trust__ico, .areas__group li { background: linear-gradient(135deg, #e3f0ff, #d2ecff); }
.chip { border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad-border) border-box; box-shadow: none; }
.chip:hover { background: linear-gradient(120deg, #0f56c6, #2aa8ff) padding-box, linear-gradient(120deg, #0f56c6, #4fdcff) border-box; }
.areas__group li.is-page { background: linear-gradient(120deg, #0f56c6, #2aa8ff); }

/* Before/after: glowing gradient ring */
.ba::after {
	content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: 4; pointer-events: none;
	background: linear-gradient(135deg, #4fdcff, rgba(79,220,255,0) 35%, rgba(20,98,214,0) 65%, #1462d6);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}

/* CTA band animated gradient border */
.cta-band { padding: 2px; background: linear-gradient(120deg, #4fdcff, #1462d6, #0a2456, #2aa8ff, #4fdcff); background-size: 300% 300%; animation: flow 8s linear infinite; }
.cta-band__inner { background: radial-gradient(600px 300px at 100% 0%, rgba(79,220,255,.3), transparent 60%), linear-gradient(160deg, #061634, #0a2456 60%, #10337a); border-radius: calc(var(--r-lg) - 2px); position: relative; }
.cta-band__glow { z-index: 1; border-radius: inherit; pointer-events: none; }
.cta-band__inner { z-index: 2; }

/* ---- NUMBERS ---- */
/* Process steps: solid gradient numerals with glow + connecting line */
.steps { position: relative; }
.step::before {
	content: counter(s, decimal-leading-zero); top: 14px; right: 18px;
	font-family: var(--display); font-weight: 900; font-size: 3.6rem; line-height: 1; letter-spacing: -.03em;
	background: var(--grad-num); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 6px 18px rgba(42,168,255,.55));
}
.section--ice .step::before, .steps--light .step::before { background: var(--grad-num-dark); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 6px 14px rgba(20,98,214,.3)); }
.step h3 { font-size: 1.35rem; text-transform: uppercase; letter-spacing: .01em; }
@media (min-width: 961px) {
	.steps::before { content: ''; position: absolute; left: 6%; right: 6%; top: 52px; height: 2px; background: linear-gradient(90deg, transparent, rgba(79,220,255,.7), rgba(42,168,255,.7), transparent); z-index: 0; }
	.step { z-index: 1; }
}

/* Service cards: big numbered badges */
.svc-grid { counter-reset: svc; }
.svc-card { counter-increment: svc; }
.svc-card__img::before {
	content: counter(svc, decimal-leading-zero); position: absolute; z-index: 2; right: 18px; bottom: 6px;
	font-family: var(--display); font-weight: 900; font-size: 3.4rem; line-height: 1; letter-spacing: -.03em;
	background: linear-gradient(180deg, #fff 20%, #8fe9ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 4px 14px rgba(0,0,0,.5));
}

/* FAQ numbering */
.faq { counter-reset: q; }
.faq details { counter-increment: q; }
.faq summary { padding-left: 76px; font-size: 1.12rem; }
.faq summary::before {
	content: counter(q, decimal-leading-zero); position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
	font-family: var(--display); font-weight: 900; font-size: 1.9rem; line-height: 1;
	background: var(--grad-num-dark); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.faq summary::after { background: linear-gradient(135deg, #2aa8ff, #1462d6); box-shadow: 0 6px 16px -6px rgba(20,98,214,.7); }

/* Trust row numbering */
.trust { counter-reset: t; }
.trust__item { counter-increment: t; }
.trust__item::before { content: counter(t, decimal-leading-zero); position: absolute; top: 16px; right: 18px; font-family: var(--display); font-weight: 900; font-size: 1.6rem; line-height: 1; background: var(--grad-num-dark); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .35; }
.trust__item strong { font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .01em; }

/* Card icons & badges with richer gradients */
.card > .ico, .step .ico, .drop__ico, .qform__ico, .ccard span, .svc-card__ico, .frame__badge .ico {
	background: linear-gradient(135deg, #4fdcff 0%, #2aa8ff 40%, #1462d6 100%);
	box-shadow: 0 10px 26px -8px rgba(20,98,214,.75), inset 0 1px 0 rgba(255,255,255,.4);
}
.ccard--wa span { background: linear-gradient(135deg, #5df09a, #25d366 50%, #128c4a); }
.frame::before { background: linear-gradient(135deg, #4fdcff, #2aa8ff 40%, #1462d6); }

/* Phone numbers styled */
.ccard { font-variant-numeric: tabular-nums; }
.btn--line { font-variant-numeric: tabular-nums; }

/* Card hover lift polish */
.card, .ccard, .trust__item, .areas__group { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.areas__group:hover, .trust__item:hover { transform: translateY(-5px); box-shadow: 0 28px 60px -28px rgba(20,98,214,.5); }

@media (max-width: 600px) {
	.faq summary { padding-left: 62px; font-size: 1.02rem; }
	.faq summary::before { font-size: 1.5rem; left: 16px; }
	.step::before { font-size: 3rem; }
}

@media (max-width: 370px) {
	.brand__logo, .scrolled .brand__logo { width: 40px; height: 40px; }
	.brand__txt strong { font-size: .9rem; }
	.brand__txt em { font-size: .52rem; letter-spacing: .03em; }
	.burger { width: 42px; height: 42px; }
}

/* Even heading lines: no single word left on its own line */
h1, h2, h3, .svc-card__title, .hero__rot, .eyebrow, .cta-band h2, .qform__head h3 { text-wrap: balance; }
p, li, .phero__sub, .hero__sub { text-wrap: pretty; }
.hero__title span, .phero__title span { text-wrap: balance; }

/* Small-phone safety */
.contact-grid > *, .split > *, .cards > *, .ba-grid > *, .areas > * { min-width: 0; }
.ccard, .footer__contact a, .qform__note { overflow-wrap: anywhere; }
@media (max-width: 420px) {
	h2 { font-size: clamp(1.45rem, 7.2vw, 1.9rem); }
	.hero__title { font-size: clamp(2.1rem, 11vw, 2.6rem); }
	.phero__title { font-size: clamp(1.9rem, 9.6vw, 2.3rem); }
	.cta-band h2 { font-size: 1.5rem; }
	.qform__head h3 { font-size: 1.35rem; }
	.svc-card__title { font-size: 1.25rem; }
	.container { width: calc(100% - 32px); }
}

/* ===== v3: mega menu, service groups, maps, areas ===== */
.nav__list > li:has(> .drop--mega) { position: static; }
.drop--mega { width: min(1000px, 96vw); top: 100%; grid-template-columns: repeat(4, 1fr); gap: 6px 14px; padding: 18px; }
.drop--mega::before { inset: -14px 0 auto; height: 14px; }
.mega__col { display: flex; flex-direction: column; gap: 2px; }
.mega__head { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 0 10px 8px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: .82rem; letter-spacing: .08em; color: var(--blue); border-bottom: 2px solid transparent; border-image: linear-gradient(90deg, #2aa8ff, transparent) 1; }
.drop--mega a { padding: 7px 10px; gap: 10px; }
.drop--mega a strong { font-size: .9rem; }
.drop--mega .drop__ico { width: 32px; height: 32px; border-radius: 10px; }
.drop--mega .drop__ico .ico { width: 18px; height: 18px; }
.drop--mega .drop__all { grid-column: 1 / -1; margin-top: 6px; }
.drop--areas { grid-template-columns: 1fr 1fr; width: 460px; }
.drop__hub { background: linear-gradient(120deg, #e8f3ff, #f4faff); }
.mnav__more summary { list-style: none; cursor: pointer; }
.mnav__more summary::-webkit-details-marker { display: none; }
.mnav__chev { margin-left: auto; transition: transform .3s; }
.mnav__more[open] .mnav__chev { transform: rotate(180deg); }
.mnav__sub { padding-left: 30px; font-size: .94rem; }

.svc-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-group { border: 1.5px solid transparent; border-radius: var(--r); padding: 20px 16px; background: linear-gradient(180deg, #fff, #f8fbff) padding-box, var(--grad-border) border-box; box-shadow: 0 20px 50px -30px rgba(6,22,52,.45); }
.svc-group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 12px; }
.svc-group h3 .ico { width: 36px; height: 36px; padding: 8px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, #4fdcff, #2aa8ff 40%, #1462d6); box-shadow: 0 8px 20px -8px rgba(20,98,214,.7); }
.svc-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.svc-group a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; color: var(--navy); font-weight: 700; font-size: .93rem; text-decoration: none; transition: background .25s, transform .25s; }
.svc-group a > .ico:first-child { color: var(--blue); }
.svc-group a:hover { background: linear-gradient(120deg, #e3f0ff, #f2f9ff); transform: translateX(3px); color: var(--blue); }
.svc-group__arr { margin-left: auto; opacity: 0; transition: opacity .25s; width: 1em !important; }
.svc-group a:hover .svc-group__arr { opacity: 1; }
@media (max-width: 1100px) { .svc-groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-groups { grid-template-columns: 1fr; } }

.map { border-radius: var(--r-lg); overflow: hidden; position: relative; padding: 2px; background: linear-gradient(135deg, #4fdcff, #1462d6); box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; border-radius: calc(var(--r-lg) - 2px); }
@media (max-width: 600px) { .map iframe { height: 300px; } }

.areas--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .areas--2 { grid-template-columns: 1fr; } }
.areas__group li.is-link { padding: 0; }
.areas__group li.is-link a, .areas__group ul.linked li a { display: block; padding: 6px 12px; color: var(--navy-2); text-decoration: none; }
.areas__group ul.linked li { padding: 0; }
.areas__group ul.linked li.is-page a { color: #fff; }
.areas__group li.is-link:hover, .areas__group ul.linked li:not(.is-page):hover { background: linear-gradient(120deg, #cfe6ff, #e3f3ff); }
.chips--areas { justify-content: center; }
.chip--major { font-weight: 800; background: linear-gradient(120deg, #0f56c6, #2aa8ff) padding-box, linear-gradient(120deg, #0f56c6, #4fdcff) border-box; color: #fff; }
.chip--major .ico { color: #cfeeff; }
.local-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .local-facts { grid-template-columns: 1fr; } }

/* Desktop nav fits on one line */
@media (min-width: 1001px) {
	.brand__txt { display: none; }
	.brand__logo, .scrolled .brand__logo { width: 62px; height: 62px; }
	.nav__list { flex-wrap: nowrap; }
	.nav__list > li > a { white-space: nowrap; padding: 11px 11px 9px; }
}
@media (min-width: 1001px) and (max-width: 1239px) {
	.nav__list > li > a { padding: 10px 8px 8px; font-size: .93rem; gap: 5px; }
	.nav__list > li > a > .ico:first-child { display: none; }
	.header__in { gap: 14px; }
}

/* ===== v4: blog ===== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); border: 1.5px solid transparent; background: radial-gradient(320px circle at var(--mx, -400px) var(--my, -400px), rgba(79,220,255,.16), transparent 60%) padding-box, linear-gradient(180deg, #fff, #f8fbff) padding-box, var(--grad-border) border-box; box-shadow: 0 20px 50px -30px rgba(6,22,52,.45); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(20,98,214,.55); color: var(--ink); }
.post-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--ice); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__cat { align-self: flex-start; font-family: var(--display); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 5px 10px 4px; border-radius: 999px; background: linear-gradient(120deg, #0f56c6, #2aa8ff); }
.post-card__title { font-family: var(--display); font-weight: 800; font-size: 1.25rem; line-height: 1.15; color: var(--navy); text-wrap: balance; }
.post-card__ex { color: var(--muted); font-size: .94rem; flex: 1; }
.post-card__more { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--muted); font-weight: 600; }
.post-card__more span { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-weight: 800; }
.cat-chips { justify-content: center; margin-bottom: 34px; }
.pager { margin-top: 36px; text-align: center; }
.pager .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pager .page-numbers { padding: 9px 15px; border-radius: 12px; background: var(--ice); color: var(--navy); font-weight: 700; text-decoration: none; }
.pager .page-numbers.current { background: linear-gradient(120deg, #0f56c6, #2aa8ff); color: #fff; }
.phero__title--post { font-size: clamp(1.9rem, 4.4vw, 3.3rem); max-width: 980px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #cfe3ff; font-weight: 600; font-size: .95rem; margin: 6px 0 0; }
.post-meta .ico { color: var(--cyan); }
a.eyebrow { text-decoration: none; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .post-layout { grid-template-columns: 1fr; } }
.post-body { max-width: 760px; font-size: 1.06rem; }
.post-body h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin: 1.6em 0 .55em; text-transform: none; line-height: 1.15; }
.post-body h2:first-child { margin-top: 0; }
.post-body h3 { margin: 1.3em 0 .4em; }
.post-body .lead { font-size: 1.18rem; color: var(--navy-2); font-weight: 500; }
.post-body .ba { margin: 26px 0; }
.post-body .answer { padding: 18px 20px; border-radius: 16px; background: linear-gradient(120deg, #e6f2ff, #f4faff); border-left: 4px solid var(--sky); color: var(--navy-2); margin: 0 0 1.4em; }
.post-body .answer strong:first-child { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--blue); margin-bottom: 4px; }
.post-body .cta-band { margin-top: 30px; }
.post-aside { position: sticky; top: 110px; display: grid; gap: 18px; }
@media (max-width: 960px) { .post-aside { position: static; } }
.aside-card { border-radius: var(--r-lg); padding: 24px; border: 1.5px solid transparent; background: linear-gradient(180deg, #fff, #f6faff) padding-box, var(--grad-border) border-box; box-shadow: 0 24px 50px -30px rgba(6,22,52,.45); display: grid; gap: 10px; }
.aside-card h3 { margin: 4px 0 0; text-transform: uppercase; font-size: 1.15rem; }
.aside-card p { margin: 0 0 4px; color: var(--muted); font-size: .94rem; }
.aside-card--links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; color: var(--navy); font-weight: 700; text-decoration: none; font-size: .94rem; }
.aside-card--links a:hover { background: var(--ice); color: var(--blue); }
.aside-card--links a .ico:first-child { color: var(--blue); }
.aside-arr { margin-left: auto; width: 1em !important; }

/* Generic content fallback (blog / plain pages) */
.entry { max-width: 820px; margin: 0 auto; padding: 60px 0; }
