/*
Theme Name: HS Digital
Theme URI: https://hsdigital.in
Author: HS Digital
Author URI: https://hsdigital.in
Description: Fast, SEO-ready single page theme for HS Digital, a Google Ads and Meta Ads agency. The whole site renders from front-page.php.
Version: 3.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hsdigital
*/

:root {
	--paper: #f7f8fc;
	--white: #ffffff;
	--lilac: #eef0ff;
	--lilac-2: #e4e7ff;
	--ink: #0b1026;
	--muted: #4b5472;
	--line: #e3e6f2;
	--violet: #5b3df5;
	--blue: #2563eb;
	--cyan: #22d3ee;
	--mint: #059669;
	--rose: #e11d48;
	--grad: linear-gradient(135deg, #5b3df5 0%, #2563eb 100%);
	--grad-text: linear-gradient(100deg, #5b3df5 0%, #2563eb 55%, #0891b2 100%);
	--grad-text-light: linear-gradient(100deg, #ffffff 0%, #c7f4ff 60%, #a5f3fc 100%);
	--radius: 22px;
	--shadow: 0 1px 2px rgba(11, 16, 38, .05), 0 18px 44px rgba(37, 52, 120, .12);
	--shadow-lg: 0 30px 80px rgba(37, 52, 160, .18);
	--font-head: "Sora", "Segoe UI", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--white); color: var(--ink);
	font-family: var(--font-body); font-size: 17px; line-height: 1.65;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -.03em; }
s { text-decoration-thickness: 1.5px; }
.icon { display: block; flex: none; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - 40px); }
section[id] { scroll-margin-top: calc(var(--header-h) - 6px); }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 400; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* ---------- Buttons ---------- */
.btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	background: var(--grad); color: #fff; font: 600 16px/1 var(--font-body);
	padding: 16px 28px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; overflow: hidden;
	box-shadow: 0 10px 28px rgba(67, 56, 245, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
	transition: transform .25s ease, box-shadow .25s ease;
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(67, 56, 245, .45), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn:hover::after { transform: translateX(120%); }
.btn .icon { width: 20px; height: 20px; transition: transform .25s; }
.btn:hover .icon { transform: translateX(4px); }
.btn-lg { padding: 19px 32px; font-size: 17px; }
.btn-sm { padding: 12px 20px; font-size: 15px; box-shadow: 0 6px 18px rgba(67, 56, 245, .3); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 16, 38, .06); }
.btn-ghost:hover { background: var(--lilac); box-shadow: 0 8px 22px rgba(37, 52, 120, .12); }
.btn-ghost::after { display: none; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

/* ---------- Header (light) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); color: var(--ink); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { background: rgba(255, 255, 255, .94); border-color: var(--line); box-shadow: 0 8px 30px rgba(37, 52, 120, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--grad); color: #fff; font: 800 16px/1 var(--font-head); letter-spacing: -.04em; box-shadow: 0 6px 18px rgba(67, 56, 245, .4); }
.brand-logo { display: block; height: 48px; width: auto; max-width: 190px; object-fit: contain; }
.brand-name { font: 700 21px/1 var(--font-head); letter-spacing: -.04em; }
.custom-logo { max-height: 44px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav ul { display: flex; gap: 6px; }
.primary-nav ul a { display: block; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.primary-nav ul a:hover { color: var(--ink); background: var(--lilac); }
.primary-nav ul a[aria-current] { color: var(--violet); background: var(--lilac); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: var(--lilac); color: var(--ink); cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 12px; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (light) ---------- */
.hero { position: relative; overflow: hidden; color: var(--ink); background: linear-gradient(180deg, #ffffff 0%, #f3f4ff 100%); padding: clamp(48px, 7vw, 96px) 0 clamp(96px, 11vw, 150px); isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.aurora span:nth-child(1) { width: 520px; height: 520px; left: -140px; top: -140px; background: #a5b4fc; opacity: .5; animation: drift1 18s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 480px; height: 480px; right: -120px; top: 20px; background: #7dd3fc; opacity: .42; animation: drift2 22s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 400px; height: 400px; left: 40%; bottom: -220px; background: #c4b5fd; opacity: .45; animation: drift3 20s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(120px, 90px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-100px, 70px) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-80px, -60px) scale(1.2); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(91, 61, 245, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 61, 245, .06) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 55% 25%, #000 5%, transparent 70%); mask-image: radial-gradient(ellipse at 55% 25%, #000 5%, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(37, 52, 120, .08); font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 26px; }
.eyebrow { display: inline-block; margin-bottom: 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; letter-spacing: -.045em; line-height: 1.04; }
.lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; color: var(--muted); max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.cta-row-center { justify-content: center; }
.fine { margin-top: 18px; font-size: 14px; color: var(--muted); }
.rating { margin-top: 22px; display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.stars { display: inline-flex; gap: 2px; color: #f59e0b; }
.stars .icon { width: 17px; height: 17px; fill: currentColor; stroke: currentColor; }

/* Hero results card */
.hero-visual { position: relative; perspective: 1200px; }
.frame { position: relative; border-radius: 28px; padding: clamp(20px, 2.4vw, 30px); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, .55); transform-style: preserve-3d; transition: transform .15s ease-out; will-change: transform; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dash-title { font: 700 15px/1 var(--font-head); letter-spacing: -.02em; }
.dash-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--mint); background: #ecfdf5; border: 1px solid #a7f3d0; padding: 6px 12px; border-radius: 999px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { background: var(--lilac); border-radius: 16px; padding: 16px 14px; text-align: left; }
.kpi strong { display: block; white-space: nowrap; font: 800 clamp(21px, 2.1vw, 27px)/1 var(--font-head); letter-spacing: -.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.kpi span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.bars { display: grid; gap: 16px; margin-top: 20px; }

.bar-row { display: grid; gap: 6px; }
.bar-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; font-weight: 600; }
.bar-label small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.bar-vals s { color: #94a0c4; font-weight: 500; margin-right: 4px; }
.bar-vals strong { color: var(--violet); font-weight: 700; }
.bar { height: 8px; border-radius: 999px; background: var(--lilac); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 999px; transform-origin: 0 50%; }
.bar-before > span { background: #c9d0ea; }
.bar-after > span { background: var(--grad); }
.hero .bar > span { animation: grow 1.1s cubic-bezier(.2, .7, .2, 1) .5s both; }
.js .case .bar > span { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) .25s; }
.js .case.is-in .bar > span { transform: scaleX(1); }
@keyframes grow { from { transform: scaleX(0); } }

.spend { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); display: grid; gap: 12px; }
.spend-row { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; }
.spend-row b { font-weight: 700; color: var(--ink); }
.spend-bar { display: flex; align-items: center; gap: 10px; }
.spend-bar > i { display: block; height: 10px; border-radius: 999px; flex: none; transform-origin: 0 50%; animation: grow 1.2s cubic-bezier(.2, .7, .2, 1) .7s both; }
.spend-bar > i.g { background: linear-gradient(90deg, #5b3df5, #2563eb); }
.spend-bar > i.m { background: linear-gradient(90deg, #2563eb, #0891b2); }
.spend-bar > span { color: var(--muted); font-weight: 600; white-space: nowrap; }
.certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.certs li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--lilac); color: #3b2bb8; border: 1px solid var(--lilac-2); }
.certs .icon { width: 14px; height: 14px; stroke-width: 2.6; color: var(--mint); }

.chip { position: absolute; display: flex; flex-direction: column; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 12px 18px; font-size: 13px; line-height: 1.3; box-shadow: 0 18px 40px rgba(37, 52, 120, .18); }
.chip strong { font: 800 22px/1.1 var(--font-head); letter-spacing: -.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.chip-a { left: -26px; bottom: -30px; animation: float 6s ease-in-out infinite; }
.chip-b { right: -16px; top: -26px; animation: float 7s ease-in-out -2s infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -64px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: 26px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font: 800 clamp(32px, 4vw, 50px)/1 var(--font-head); letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.stat-label { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- Logos ---------- */
.logos { padding: 80px 0 40px; background: var(--white); }
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.logo-tile { position: relative; border-radius: 20px; padding: 1px; background: linear-gradient(135deg, var(--line), var(--line)); transition: transform .3s, box-shadow .3s, background .3s; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(91,61,245,.35); background: var(--grad); }
.logo-box { position: relative; display: block; height: 130px; background: var(--white); border-radius: 19px; }
.logo-box img { position: absolute; inset: 22px 26px; width: calc(100% - 52px); height: calc(100% - 44px); object-fit: contain; object-position: center; mix-blend-mode: multiply; opacity: .95; transition: opacity .3s, transform .3s; }
.logo-tile:hover img { opacity: 1; transform: scale(1.05); }
.logos-title { text-align: center; font: 600 13px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
/* ---------- Sections ---------- */
.section { padding: clamp(68px, 9vw, 124px) 0; position: relative; }
.section-paper { background: var(--paper); }
.section-tint { background: var(--lilac); }
.section-why { background: linear-gradient(180deg, var(--lilac) 0%, #f7f8ff 100%); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.045em; }
.section-lead { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 62ch; }
.center { text-align: center; margin-top: 56px; }
.note { margin-top: 26px; font-size: 15px; color: var(--muted); }

/* Cards (spotlight on hover) */
.cards { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(91, 61, 245, .12), transparent 55%); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfd4f2; }
.card:hover::before { opacity: 1; }
.card h3 { position: relative; font-size: 21px; font-weight: 700; margin: 22px 0 10px; letter-spacing: -.03em; }
.card p { position: relative; color: var(--muted); font-size: 16px; }
.service-icon { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(67, 56, 245, .3); transition: transform .3s; }
.card:hover .service-icon { transform: rotate(-6deg) scale(1.08); }
.service-icon .icon { width: 26px; height: 26px; }

/* Compare (light) */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.compare-col { position: relative; overflow: hidden; border-radius: 26px; padding: clamp(28px, 3.4vw, 44px); background: var(--white); border: 1px solid var(--line); }
.compare-col::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; }
.compare-col h3 { display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 800; margin-bottom: 18px; }
.compare-col h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.compare-col li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-top: 1px solid var(--line); font-size: 17px; }
.compare-col li:first-child { border-top: 0; }
.compare-col .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; margin-top: 1px; stroke-width: 2.6; }
.compare-bad { background: #fffafa; border-color: #fde2e6; color: #5b4a50; }
.compare-bad::before { background: #fb7185; }
.compare-bad h3 { color: #9f1239; }
.compare-bad h3::before { background: #fb7185; }
.compare-bad li { border-color: #fde2e6; }
.compare-bad .icon { background: #ffe4e8; color: var(--rose); }
.compare-good { border-color: #c7c0ff; background: linear-gradient(180deg, #ffffff 0%, #f6f5ff 100%); box-shadow: 0 30px 70px rgba(91, 61, 245, .16); }
.compare-good::before { background: var(--grad); }
.compare-good h3::before { background: var(--violet); }
.compare-good li { border-color: var(--lilac-2); font-weight: 500; }
.compare-good .icon { background: #d1fae5; color: var(--mint); }

/* Cases with designed result panels */
.cases { display: grid; gap: 28px; }
.case { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--white); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; transition: box-shadow .3s, transform .3s; }
.case:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.case:nth-child(even) { grid-template-columns: 1.1fr .9fr; }
.case:nth-child(even) .case-media { order: 2; }
.case-media { display: flex; align-items: center; justify-content: center; padding: clamp(18px, 2.6vw, 34px); background: radial-gradient(500px 300px at 20% 0%, #dfe3ff, transparent 70%), linear-gradient(135deg, #eef0ff, #f7f8ff); }
.viz { width: 100%; max-width: 420px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 20px 50px rgba(37, 52, 160, .14); }
.viz-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.viz-client { font: 700 16px/1.2 var(--font-head); letter-spacing: -.02em; }
.viz-key { display: flex; gap: 12px; font-size: 12px; font-weight: 600; color: var(--muted); }
.viz-key span { display: inline-flex; align-items: center; gap: 6px; }
.viz-key i { width: 10px; height: 10px; border-radius: 50%; background: #c9d0ea; }
.viz-key span + span i { background: var(--violet); }
.viz .bars { margin-top: 0; gap: 18px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.tile { background: var(--lilac); border-radius: 14px; padding: 12px 14px; }
.tile span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.tile strong { display: block; margin-top: 2px; font: 700 15px/1.3 var(--font-head); letter-spacing: -.02em; }
.case-body { padding: clamp(26px, 4vw, 50px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.case-metric { font-size: 15px; font-weight: 500; color: var(--muted); display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.case-metric span { font: 800 clamp(42px, 5vw, 64px)/1 var(--font-head); letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.case h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
.case-body > p:not(.case-metric) { color: var(--muted); font-size: 16.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips li { font-size: 13.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--lilac); color: #3b2bb8; border: 1px solid #dcdcff; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.quote { grid-column: span 2; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; transition: transform .3s, box-shadow .3s; }
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.quote:nth-child(4), .quote:nth-child(5) { grid-column: span 3; }
.quote blockquote p { font-size: 17px; line-height: 1.65; }
.quote blockquote p::before { content: "\201C"; display: block; font: 800 60px/.7 var(--font-head); margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.quote-by { display: flex; align-items: center; gap: 14px; }
.quote-by img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; background: var(--lilac); flex: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #d9dcff; }
.quote-by strong { display: block; font-size: 16px; }
.quote-by span { display: block; font-size: 14px; color: var(--muted); }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 880px; margin-inline: auto; }
.person { position: relative; overflow: hidden; display: flex; align-items: center; gap: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 28px; transition: transform .3s, box-shadow .3s; }
.person::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.person-photo { flex: none; width: 120px; height: 120px; border-radius: 28px; overflow: hidden; display: grid; place-items: center; background: var(--grad); color: #fff; font: 800 38px/1 var(--font-head); letter-spacing: -.04em; box-shadow: 0 14px 30px rgba(67, 56, 245, .3); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person-photo-alt { background: linear-gradient(135deg, #0ea5e9, #22d3ee); color: #04202b; box-shadow: 0 14px 30px rgba(14, 165, 233, .3); }
.person-info h3 { font-size: 23px; font-weight: 800; }
.person-role { color: var(--muted); font-size: 15px; margin-top: 2px; }
.person-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; background: var(--lilac); color: #3b2bb8; border: 1px solid #dcdcff; transition: background .2s, color .2s; }
.person-link:hover { background: var(--violet); color: #fff; border-color: var(--violet); }
.person-link .icon { width: 16px; height: 16px; }

/* Steps (light) */
.section-process { background: linear-gradient(180deg, #ffffff 0%, var(--lilac) 100%); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; transition: transform .3s, border-color .3s, box-shadow .3s; }
.step:hover { transform: translateY(-6px); border-color: #c7c0ff; box-shadow: var(--shadow); }
.step-num { display: block; font: 800 58px/1 var(--font-head); letter-spacing: -.06em; margin-bottom: 20px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.step h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 16.5px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s, box-shadow .25s; }
.faq details:hover { border-color: #cfd4f2; }
.faq details[open] { border-color: #b9b2ff; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative; font: 700 19px/1.35 var(--font-head); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b3df5' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s, background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: #dcdcff; }
.faq details p { padding: 0 26px 24px; color: var(--muted); font-size: 16.5px; max-width: 68ch; }

/* Book a call (the one bold block) */
.book { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(135deg, #3a2bd0 0%, #5b3df5 45%, #7c3aed 100%); padding: clamp(72px, 10vw, 128px) 0; }
.book .aurora span:nth-child(1) { background: #22d3ee; opacity: .25; left: -200px; top: -100px; }
.book .aurora span:nth-child(2) { background: #a78bfa; opacity: .4; }
.book .aurora span:nth-child(3) { background: #2563eb; opacity: .35; }
.book .eyebrow { color: #a5f3fc; }
.book .grad { background: var(--grad-text-light); -webkit-background-clip: text; background-clip: text; }
.book .fine { color: #d6d8ff; }
.book-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.book h2 { font-size: clamp(32px, 4.8vw, 56px); font-weight: 800; letter-spacing: -.045em; }
.book-lead { margin-top: 20px; color: #e3e5ff; font-size: 18px; max-width: 52ch; }
.ticks { margin-top: 28px; display: grid; gap: 14px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.ticks .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff; stroke-width: 2.8; }
.book-actions { margin-top: 32px; }
.book .btn { background: #fff; color: var(--violet); box-shadow: 0 14px 34px rgba(11, 16, 38, .3); }
.book .btn:hover { box-shadow: 0 20px 44px rgba(11, 16, 38, .4); }
.book .btn::after { background: linear-gradient(110deg, transparent 30%, rgba(91, 61, 245, .18) 50%, transparent 70%); }
.calendar { position: relative; border-radius: 26px; padding: 8px; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .35); box-shadow: 0 40px 90px rgba(20, 10, 90, .45); }
.calendar iframe { display: block; width: 100%; height: 700px; border: 0; border-radius: 20px; background: #fff; }
.calendar-fallback { padding: 14px 16px 8px; text-align: center; font-size: 14px; color: #e3e5ff; }
.calendar-fallback a { color: #fff; font-weight: 600; }

/* Footer */
.site-footer { background: #0b1026; color: #aab3d6; padding-top: 64px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-about .brand { color: #fff; margin-bottom: 16px; }
.footer-about p { max-width: 44ch; }
.footer-title { font: 700 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #a5f3fc; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }

.fallback { padding: 80px 0; min-height: 60vh; }
.fallback h1 { font-size: 40px; margin-bottom: 18px; }

/* Booking modal */
.book-dialog { width: min(920px, 96vw); height: min(88vh, 780px); padding: 0; border: 0; border-radius: 24px; background: #fff; overflow: hidden; box-shadow: 0 40px 120px rgba(11, 16, 38, .5); }
.book-dialog::backdrop { background: rgba(11, 16, 38, .55); backdrop-filter: blur(6px); }
.book-dialog[open] { animation: pop .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.book-dialog iframe { width: 100%; height: 100%; border: 0; display: block; }
.book-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(11, 16, 38, .88); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.book-close:hover { transform: rotate(90deg); }

/* Sticky mobile call to action */
.sticky-cta { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; transform: translateY(140%); transition: transform .35s ease; }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; padding: 17px 20px; box-shadow: 0 16px 40px rgba(37, 52, 220, .5); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.hero-grid, .book-grid { grid-template-columns: 1fr; }
	.hero-visual { max-width: 560px; margin: 18px auto 0; width: 100%; }
	.chip-a { left: -8px; }
	.chip-b { right: -6px; }
	.cards-3, .steps { grid-template-columns: repeat(2, 1fr); }
	.steps .step:last-child { grid-column: 1 / -1; }
	.testimonials { grid-template-columns: repeat(2, 1fr); }
	.quote, .quote:nth-child(4), .quote:nth-child(5) { grid-column: auto; }
	.quote:last-child { grid-column: 1 / -1; }
	.case, .case:nth-child(even) { grid-template-columns: 1fr; }
	.case:nth-child(even) .case-media { order: 0; }
}

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.primary-nav { position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column; align-items: stretch; gap: 18px; padding: 18px 20px 26px; background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); box-shadow: 0 30px 50px rgba(37, 52, 120, .15); visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
	.nav-open .primary-nav { visibility: visible; opacity: 1; transform: none; }
	.primary-nav ul { flex-direction: column; gap: 2px; }
	.primary-nav ul a { padding: 14px 12px; font-size: 18px; border-radius: 14px; }
	.primary-nav .btn { width: 100%; }
	.sticky-cta { display: block; }
	.site-footer { padding-bottom: 76px; }
}

@media (max-width: 680px) {
	body { font-size: 16.5px; }
	.hero { padding-bottom: 104px; }
	.stats { margin-top: -56px; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); border-radius: 22px; }
	.stat { padding: 26px 12px; }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.cards-3, .steps, .compare, .testimonials, .team { grid-template-columns: 1fr; }
	.steps .step:last-child, .quote:last-child { grid-column: auto; }
	.person { flex-direction: column; text-align: center; padding: 30px 22px; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.cta-row .btn, .book-actions .btn { width: 100%; }
	.chip-a, .chip-b { position: static; display: inline-flex; margin: 14px 10px 0 0; animation: none; }
	.kpis { gap: 8px; }
	.kpi { padding: 14px 10px; }
	.spend-row { grid-template-columns: 82px 1fr; }
	.faq summary { font-size: 17.5px; padding: 18px 58px 18px 20px; }
	.faq summary::after { right: 16px; }
	.faq details p { padding: 0 20px 20px; }
	.calendar iframe { height: 640px; }
	.aurora span { filter: blur(70px); }
			.book-dialog { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
}

@media (max-width: 980px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .logo-box { height: 104px; } .logo-box img { inset: 16px 18px; width: calc(100% - 36px); height: calc(100% - 32px); } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .case .bar > span { transform: none; }
}

/* ---------- Brand mark ---------- */
.brand-mark-svg { display: block; flex: none; filter: drop-shadow(0 6px 14px rgba(91, 61, 245, .35)); transition: transform .35s cubic-bezier(.2, .9, .3, 1.3); }
.brand:hover .brand-mark-svg { transform: rotate(-8deg) scale(1.06); }
.brand-name b { font-weight: 500; opacity: .72; }

/* ---------- Section palettes (each block gets its own accent) ---------- */
/* Services: icon colours rotate */
.cards-3 .card:nth-child(6n+1) .service-icon { background: linear-gradient(135deg, #5b3df5, #7c5cff); box-shadow: 0 10px 24px rgba(91, 61, 245, .3); }
.cards-3 .card:nth-child(6n+2) .service-icon { background: linear-gradient(135deg, #0891b2, #22d3ee); box-shadow: 0 10px 24px rgba(8, 145, 178, .3); }
.cards-3 .card:nth-child(6n+3) .service-icon { background: linear-gradient(135deg, #059669, #34d399); box-shadow: 0 10px 24px rgba(5, 150, 105, .3); }
.cards-3 .card:nth-child(6n+4) .service-icon { background: linear-gradient(135deg, #2563eb, #60a5fa); box-shadow: 0 10px 24px rgba(37, 99, 235, .3); }
.cards-3 .card:nth-child(6n+5) .service-icon { background: linear-gradient(135deg, #c026d3, #e879f9); box-shadow: 0 10px 24px rgba(192, 38, 211, .28); }
.cards-3 .card:nth-child(6n+6) .service-icon { background: linear-gradient(135deg, #0f766e, #2dd4bf); box-shadow: 0 10px 24px rgba(15, 118, 110, .3); }
.cards-3 .card:nth-child(6n+2)::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(8, 145, 178, .12), transparent 55%); }
.cards-3 .card:nth-child(6n+3)::before, .cards-3 .card:nth-child(6n+6)::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(5, 150, 105, .12), transparent 55%); }

/* Why us: fresh mint and teal */
.section-why { background: linear-gradient(180deg, #ecfdf5 0%, #f0fdfa 100%); }
#why-us .eyebrow { color: #0f766e; }
#why-us .compare-good::before { background: linear-gradient(90deg, #059669, #14b8a6); }

/* Results: warm neutral paper, teal accents */
#results.section-paper { background: #faf9f6; }
#results .eyebrow { color: #0e7490; }

/* Testimonials: deep navy for contrast */
.section-tint { background: radial-gradient(900px 420px at 85% 0%, rgba(91, 61, 245, .35), transparent 60%), linear-gradient(180deg, #0b1026 0%, #131a45 100%); }
#testimonials .section-head h2 { color: #fff; }
#testimonials .section-lead { color: #c3c8e6; }
#testimonials .eyebrow { color: #67e8f9; }
#testimonials .quote { border-color: transparent; }

/* Team: clean white, rose accent */
#team .eyebrow { color: #be185d; }
#team .person::before { background: linear-gradient(90deg, #be185d, #7c3aed); }

/* Process: sky blue */
.section-process { background: linear-gradient(180deg, #ffffff 0%, #e0f2fe 100%); }
#process .eyebrow { color: #0369a1; }
#process .step-num { background: linear-gradient(100deg, #0369a1, #0891b2 60%, #14b8a6); -webkit-background-clip: text; background-clip: text; }
#process .step:hover { border-color: #7dd3fc; }

/* FAQ: neutral slate */
#faq .eyebrow { color: #475569; }
#faq .faq details[open] { border-color: #94a3b8; }

/* Book a call: dark navy to teal, different from the hero */
.book { background: linear-gradient(135deg, #0b1026 0%, #1b1a66 48%, #0e7490 100%); }
.book .aurora span:nth-child(1) { background: #14b8a6; }
.book .aurora span:nth-child(2) { background: #7c3aed; }
.book .aurora span:nth-child(3) { background: #0ea5e9; }
.book .btn { color: #1b1a66; }

/* ---------- Trusted by: dark band so the white logo artwork blends in ---------- */
.logos { position: relative; background: radial-gradient(800px 300px at 15% 0%, rgba(91, 61, 245, .28), transparent 60%), radial-gradient(700px 300px at 90% 100%, rgba(14, 165, 183, .2), transparent 60%), #0d1131; padding: 84px 0 92px; margin-top: -1px; }
.logos-title { color: #c7ccf0; margin-bottom: 34px; }
.logo-tile { padding: 1px; background: rgba(255, 255, 255, .09); border-radius: 20px; }
.logo-tile:hover { background: linear-gradient(135deg, #7c5cff, #22d3ee); box-shadow: 0 20px 44px -18px rgba(34, 211, 238, .45); }
.logo-box { overflow: hidden; background: #1b2150; border-radius: 19px; height: 128px; }
.logo-box img { inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: lighten; opacity: 1; transform: scale(1.22); }
.logo-tile:hover img { transform: scale(1.32); }
@media (max-width: 680px) { .logo-box { height: 104px; } .logo-box img { inset: 0; width: 100%; height: 100%; } }
