/* ==========================================================================
   Kocial Flow — main stylesheet
   Colours, type & radii follow the Kocial design system (brand-blue #0039C7,
   yellow, red accent, Chivo, 48px cards, outlined capsule CTAs).
   ========================================================================== */

:root {
	--blue: #0039c7;
	--blue-deep: #00287f;
	--yellow: #f9e14e;
	--burst: #fee415;
	--red: #ee4557;
	--black: #000;
	--white: #fff;
	--ink: #000;
	--muted: #3d3d3d;
	--muted-blue: #ccd7f4;
	--tint: #eef2fc;
	--line: #0039c7;

	--font: Chivo, "Helvetica Neue", Arial, sans-serif;
	--side: clamp(20px, 4.5vw, 64px);
	--max: 1440px;
	--r-card: 48px;
	--r-big: 64px;
	--r-pill: 999px;
	--ease: cubic-bezier(.2, .8, .2, 1);
	--ease-io: cubic-bezier(.7, 0, .2, 1);
	--header-h: 96px;

	--fs-hero: clamp(52px, 7.2vw, 104px);
	--fs-h2: clamp(36px, 4.2vw, 60px);
	--fs-h3: clamp(26px, 2.6vw, 44px);
	--fs-lead: clamp(17px, 1.4vw, 21px);
	--section: clamp(64px, 7.5vw, 112px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .25s; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
p { margin: 0; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: #000; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 20px;
	background: var(--yellow); color: #000; font-weight: 700; border-radius: var(--r-pill);
}
.skip-link:focus { top: 16px; }
.hp { position: absolute; left: -9999px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--side); }
.wrap--narrow { max-width: calc(800px + 2 * var(--side)); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .45) 0; }
.center { text-align: center; margin-top: 48px; }
.muted { color: var(--muted); }
.empty { padding: 48px 0; font-size: 18px; color: var(--muted); }

/* ---------- Type ---------- */
.label { font-size: 15px; font-style: italic; color: var(--blue); margin-bottom: 14px; }
.label--light { color: var(--muted-blue); }
.label--dark { color: #000; }
.h2 { font-size: var(--fs-h2); color: var(--blue); }
.h2--white { color: #fff; }
.h2--dark { color: #000; }
.h3 { font-size: var(--fs-h3); color: var(--blue); margin: 20px 0 16px; }
.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--muted); }

/* ---------- Buttons ---------- */
.pill {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 56px; padding: 0 28px; border-radius: var(--r-pill);
	border: 2px solid currentColor; background: transparent;
	font: 700 17px/1 var(--font); cursor: pointer; white-space: nowrap;
	transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.pill:hover { transform: translateY(-2px); }
.pill--lg { min-height: 64px; padding: 0 34px; font-size: 18px; }
.pill--line { color: var(--blue); }
.pill--line:hover { background: var(--blue); color: #fff; }
.pill--white { color: #fff; }
.pill--white:hover { background: #fff; color: var(--blue); }
.underline-link {
	font-weight: 700; font-size: 18px; color: #000; padding-bottom: 4px;
	background: linear-gradient(var(--red), var(--red)) left bottom / 100% 2px no-repeat;
	transition: background-size .35s var(--ease);
}
.underline-link:hover { color: #000; background-size: 40% 2px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.more .icon { transition: transform .35s var(--ease); }
a:hover .more .icon, .more:hover .icon { transform: translateX(6px); }
.round-btn {
	width: 56px; height: 56px; border-radius: 50%; border: 2px solid #000; background: transparent;
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #000;
	transition: background .3s, color .3s;
}
.round-btn:hover { background: #000; color: var(--yellow); }
.round-arrow {
	width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue);
	display: inline-flex; align-items: center; justify-content: center; transition: background .3s, color .3s, transform .45s var(--ease);
}
.card:hover .round-arrow { background: var(--blue); color: #fff; transform: rotate(45deg); }
.btn-dark, .btn-send {
	min-height: 64px; padding: 0 32px; border-radius: var(--r-pill); border: 2px solid #000; background: #000; color: var(--yellow);
	font: 700 17px var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: transform .3s var(--ease);
}
.btn-send { background: var(--blue); border-color: var(--blue); color: #fff; font-size: 18px; }
.btn-dark:hover, .btn-send:hover { transform: translateY(-2px); }

/* ---------- Discs, chips, tags ---------- */
.disc {
	width: 88px; height: 88px; flex-shrink: 0; border-radius: 50%; background: var(--blue); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px;
}
.disc--sm { width: 64px; height: 64px; }
.disc--xs { width: 40px; height: 40px; }
.disc--red { background: var(--red); color: #000; }
.disc--white { width: 52px; height: 52px; background: #fff; color: var(--blue); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
	min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); border: 2px solid var(--blue);
	background: #fff; color: var(--blue); font: 600 15px var(--font); cursor: pointer;
	display: inline-flex; align-items: center; transition: background .3s, color .3s;
}
.chip:hover { background: var(--tint); }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--blue); color: #fff; }
.chip--check { position: relative; min-height: 48px; font-size: 16px; }
.chip--check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip--check:has(input:checked) { background: var(--blue); color: #fff; }
.chip--check:has(input:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 3px; }
.tag {
	position: absolute; left: 24px; top: 24px; padding: 8px 16px; border-radius: var(--r-pill);
	background: #fff; color: var(--blue); font-size: 13px; font-weight: 700; z-index: 2;
}
.tag--yellow { position: static; align-self: flex-start; background: var(--yellow); color: #000; font-weight: 800; }

/* ---------- Motion primitives ---------- */
.blob { border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%; animation: morph 14s ease-in-out infinite; }
@keyframes morph {
	0%, 100% { border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%; }
	33% { border-radius: 42% 58% 45% 55% / 60% 42% 58% 40%; }
	66% { border-radius: 52% 48% 38% 62% / 44% 56% 44% 56%; }
}
.sunburst { background: repeating-conic-gradient(from 0deg at 50% 55%, var(--burst) 0deg 8deg, var(--yellow) 8deg 16deg); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(.6em) rotate(2deg); } to { opacity: 1; transform: none; } }

.lift { transition: transform .5s var(--ease); }
.lift:hover { transform: translateY(-10px); }

.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; animation: rise .9s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 80ms); }

/* Waves */
.wave { display: block; width: 100%; height: clamp(50px, 8vw, 120px); margin-bottom: -1px; position: relative; }
.wave--blue { color: var(--blue); }
.wave--yellow { color: var(--yellow); }
.band { position: relative; }
.band--blue .band__body { background: var(--blue); }
.band--yellow .band__body { background: var(--yellow); }
.band__body { padding: 24px 0 clamp(56px, 7vw, 100px); }
.band + .band, .wave { margin-top: -1px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50; height: var(--header-h);
	transition: background .4s, height .4s var(--ease), transform .5s var(--ease), box-shadow .4s;
}
.site-header__inner {
	max-width: var(--max); margin: 0 auto; height: 100%; padding: 0 var(--side);
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); height: 76px; box-shadow: 0 1px 0 rgba(0, 57, 199, .08); }
.site-header.is-hidden { transform: translateY(-100%); }
.admin-bar .site-header { top: 32px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); flex-shrink: 0; }
.brand:hover { color: var(--blue); }
.brand__badge {
	width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--blue); background: #fff; color: var(--blue);
	display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 22px;
	transition: transform .6s var(--ease);
}
.brand:hover .brand__badge { transform: rotate(-12deg) scale(1.05); }
.brand__img { max-height: 52px; width: auto; }
.brand__plate { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: #fff; border: 3px solid var(--blue); }
.brand__plate .brand__img { max-height: 36px; }
.brand__word { font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.brand--white, .brand--white:hover { color: #fff; }
.brand--white .brand__badge { border-color: #fff; }

.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 36px; }
.primary-nav .menu__item { position: relative; display: flex; align-items: center; gap: 4px; }
.primary-nav .menu__link { color: #000; font-weight: 500; font-size: 16px; padding: 10px 0; position: relative; }
.primary-nav .menu__link::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--red);
	transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.primary-nav .menu__link:hover::after, .primary-nav .is-current > .menu__link::after { transform: scaleX(1); transform-origin: left; }
.primary-nav .is-current > .menu__link { color: var(--blue); font-weight: 700; }
.menu__toggle {
	border: 0; background: none; padding: 6px; cursor: pointer; color: inherit; display: inline-flex;
	transition: transform .35s var(--ease);
}
.menu__toggle[aria-expanded="true"] { transform: rotate(180deg); color: var(--blue); }

/* Mega menu (desktop) */
.primary-nav .submenu {
	position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 40;
	padding: 24px var(--side) 48px; background: #fff;
	clip-path: inset(0 0 100% 0); opacity: 0; visibility: hidden;
	transition: clip-path .55s var(--ease-io), opacity .3s, visibility 0s .55s;
	border-radius: 0 0 50% 50% / 0 0 48px 48px;
	filter: drop-shadow(0 14px 18px rgba(0, 20, 80, .10));
}
.site-header.is-scrolled .submenu { top: 76px; }
.primary-nav .has-sub.is-open .submenu,
.primary-nav .has-sub:focus-within .submenu {
	clip-path: inset(0 0 0 0); opacity: 1; visibility: visible; transition: clip-path .6s var(--ease-io), opacity .2s, visibility 0s;
}
@media (hover: hover) and (min-width: 1101px) {
	.primary-nav .has-sub:hover .submenu { clip-path: inset(0 0 0 0); opacity: 1; visibility: visible; transition: clip-path .6s var(--ease-io), opacity .2s, visibility 0s; }
	.primary-nav .has-sub:hover .menu__toggle { transform: rotate(180deg); color: var(--blue); }
}
.submenu__list {
	list-style: none; margin: 0 auto; padding: 0; max-width: calc(var(--max) - 2 * var(--side));
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
}
.svc-link { display: flex; gap: 18px; align-items: center; padding: 20px; border-radius: 32px; color: #000; transition: background .3s; }
.svc-link:hover { background: var(--tint); color: #000; }
.svc-link__txt { display: flex; flex-direction: column; gap: 4px; }
.svc-link__txt strong { font-size: 20px; color: var(--blue); }
.svc-link__txt small { font-size: 15px; color: var(--muted); line-height: 1.5; }
.submenu .menu__item > .menu__link { display: block; padding: 16px 20px; border-radius: 24px; font-weight: 700; color: var(--blue); }
.submenu .menu__item > .menu__link:hover { background: var(--tint); }
.submenu .menu__link::after { display: none; }

.site-header__cta { min-height: 48px; font-size: 15px; padding: 0 24px; }
.burger {
	display: none; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue);
	background: transparent; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}
.burger--close { border-color: #fff; color: #fff; }

/* Blue-hero pages: white header while at top */
.has-blue-hero .site-header:not(.is-scrolled) { background: var(--blue); }
.has-blue-hero .site-header:not(.is-scrolled) .brand { color: #fff; }
.has-blue-hero .site-header:not(.is-scrolled) .brand__badge { border-color: #fff; }
.has-blue-hero .site-header:not(.is-scrolled) .primary-nav .menu > .menu__item > .menu__link,
.has-blue-hero .site-header:not(.is-scrolled) .primary-nav .menu > .menu__item > .menu__toggle { color: #fff; }
.has-blue-hero .site-header:not(.is-scrolled) .site-header__cta { color: #fff; }
.has-blue-hero .site-header:not(.is-scrolled) .site-header__cta:hover { background: #fff; color: var(--blue); }
.has-blue-hero .site-header:not(.is-scrolled) .burger { color: #fff; border-color: #fff; }
.has-blue-hero .site-header:not(.is-scrolled) .primary-nav .menu__link::after { background: var(--yellow); }

/* Mobile / tablet overlay */
.mobile-nav {
	position: fixed; inset: 0; z-index: 90; background: var(--blue); color: #fff;
	display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
	clip-path: circle(0 at calc(100% - var(--side) - 26px) 48px);
	transition: clip-path .75s var(--ease-io);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav.is-open { clip-path: circle(150% at calc(100% - var(--side) - 26px) 48px); }
.mobile-nav__blob {
	position: absolute; right: -140px; bottom: -140px; width: min(480px, 80vw); aspect-ratio: 1; pointer-events: none;
	border: 6px solid #000; border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%;
	background: repeating-conic-gradient(from 0deg at 50% 50%, var(--burst) 0deg 8deg, var(--yellow) 8deg 16deg);
	animation: morph 14s ease-in-out infinite;
}
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; height: 96px; padding: 0 var(--side); flex-shrink: 0; position: relative; }
.mobile-nav__menu { padding: 16px var(--side) 0; position: relative; }
.mobile-nav__menu .menu { list-style: none; margin: 0; padding: 0; }
.mobile-nav__menu .menu > .menu__item {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	border-bottom: 2px solid rgba(255, 255, 255, .25);
	opacity: 0; transform: translateY(24px);
}
.mobile-nav.is-open .menu > .menu__item { animation: rise .6s var(--ease) forwards; }
.mobile-nav.is-open .menu > .menu__item:nth-child(1) { animation-delay: .2s; }
.mobile-nav.is-open .menu > .menu__item:nth-child(2) { animation-delay: .27s; }
.mobile-nav.is-open .menu > .menu__item:nth-child(3) { animation-delay: .34s; }
.mobile-nav.is-open .menu > .menu__item:nth-child(4) { animation-delay: .41s; }
.mobile-nav.is-open .menu > .menu__item:nth-child(5) { animation-delay: .48s; }
.mobile-nav.is-open .menu > .menu__item:nth-child(6) { animation-delay: .55s; }
.mobile-nav__menu .menu > .menu__item > .menu__link {
	color: #fff; font-size: clamp(34px, 7vw, 56px); font-weight: 800; letter-spacing: -.03em; padding: 14px 0; line-height: 1.1;
}
.mobile-nav__menu .menu > .menu__item > .menu__link:hover { color: var(--yellow); }
.mobile-nav__menu .menu__toggle {
	width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); color: #000; justify-content: center; align-items: center;
}
.mobile-nav__menu .submenu { width: 100%; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.mobile-nav__menu .has-sub.is-open .submenu { grid-template-rows: 1fr; }
.mobile-nav__menu .submenu__list { overflow: hidden; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.mobile-nav__menu .has-sub.is-open .submenu__list { padding: 4px 0 16px; }
.mobile-nav__menu .svc-link { padding: 10px 0; border-radius: 0; color: #fff; gap: 14px; }
.mobile-nav__menu .svc-link:hover { background: none; color: var(--yellow); }
.mobile-nav__menu .svc-link .disc { width: 44px; height: 44px; background: rgba(255, 255, 255, .15); }
.mobile-nav__menu .svc-link .disc svg { width: 22px; height: 22px; }
.mobile-nav__menu .svc-link__txt strong { color: inherit; font-size: 19px; }
.mobile-nav__menu .svc-link__txt small { display: none; }
.mobile-nav__menu .submenu .menu__link { color: #fff; font-size: 19px; padding: 10px 0; display: block; font-weight: 600; }
.mobile-nav__foot { margin-top: auto; padding: 40px var(--side) 48px; display: flex; flex-direction: column; gap: 20px; position: relative; align-items: flex-start; }
.mobile-nav__socials { display: flex; flex-wrap: wrap; gap: 20px; }
.mobile-nav__socials a { color: var(--muted-blue); }
.mobile-nav__socials a:hover { color: #fff; }

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 32px; position: relative; z-index: 2; }
.eyebrow-pill {
	display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 8px 18px;
	border-radius: var(--r-pill); background: var(--yellow); font-size: 14px; font-weight: 700; color: #000;
}
.eyebrow-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(238, 69, 87, .6); } 50% { box-shadow: 0 0 0 8px rgba(238, 69, 87, 0); } }
.hero__title { font-size: var(--fs-hero); line-height: .98; letter-spacing: -.035em; color: var(--blue); }
.hero__text { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.hero__art { position: relative; aspect-ratio: 1 / 1.05; max-width: 680px; width: 100%; justify-self: end; }
.hero__blob {
	position: absolute; inset: 6% 4% 8% 6%; border: 6px solid #000; overflow: hidden;
	display: flex; align-items: flex-end; justify-content: center;
}
.hero__img { width: 90%; height: auto; object-fit: contain; }
.hero__ph {
	align-self: center; max-width: 60%; padding: 20px; border-radius: 24px; background: #fff; border: 3px dashed var(--blue);
	text-align: center; font-size: 15px; font-style: italic; color: var(--blue);
}
.float-chip {
	position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 10px;
	border-radius: var(--r-pill); background: #fff; color: #000; border: 2px solid #000; font-weight: 700; font-size: 16px; white-space: nowrap;
	animation: float 6s ease-in-out infinite; z-index: 2;
}
.float-chip--1 { left: -2%; top: 22%; }
.float-chip--2 { right: 0; top: 10%; animation-duration: 7s; animation-delay: -2s; }
.float-chip--3 { left: 12%; bottom: 6%; animation-duration: 8s; animation-delay: -4s; }
.spin-badge {
	position: absolute; right: 4%; bottom: 4%; width: 150px; height: 150px; border-radius: 50%; background: var(--blue); color: var(--yellow);
	display: flex; align-items: center; justify-content: center; z-index: 3; transition: transform .5s var(--ease);
}
.spin-badge:hover { transform: scale(1.08); color: var(--yellow); }
.spin-badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.spin-badge__ring text { fill: #fff; font: 700 13px var(--font); letter-spacing: 3px; }

/* ---------- Clients marquee ---------- */
.clients { background: var(--blue); display: flex; align-items: center; min-height: 136px; overflow: hidden; }
.clients__label {
	flex-shrink: 0; align-self: stretch; display: flex; align-items: center; padding: 0 40px 0 var(--side);
	background: var(--blue); color: var(--muted-blue); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; position: relative; z-index: 2;
	box-shadow: 24px 0 24px var(--blue);
}
.marquee { overflow: hidden; flex: 1; }
.marquee__track { display: flex; gap: 24px; width: max-content; animation: marquee 36s linear infinite; }
.clients:hover .marquee__track { animation-play-state: paused; }
.client {
	height: 64px; padding: 0 36px; border-radius: var(--r-pill); border: 2px solid rgba(255, 255, 255, .5);
	display: inline-flex; align-items: center; color: #fff; font-weight: 600; white-space: nowrap;
}
.client img { max-height: 36px; width: auto; filter: brightness(0) invert(1); opacity: .9; }

/* ---------- USPs ---------- */
.usps__grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.usps__intro .lead { margin-top: 24px; }
.stats { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-top: 40px; }
.stat strong { display: block; font-size: 52px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--blue); }
.stat span { font-size: 15px; color: var(--muted); }
.usp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.usp-cards > :nth-child(even) { margin-top: 60px; }
.usp-card { padding: 40px; border-radius: var(--r-card); display: flex; flex-direction: column; gap: 16px; min-height: 260px; }
.usp-card h3 { font-size: 26px; letter-spacing: -.02em; }
.usp-card p { font-size: 17px; }
.usp-card__num { font-size: 15px; font-weight: 800; color: var(--red); }
.usp-card--line { border: 2px solid var(--blue); }
.usp-card--line h3 { color: var(--blue); }
.usp-card--line p { color: var(--muted); }
.usp-card--blue { background: var(--blue); color: #fff; }
.usp-card--blue .usp-card__num { color: var(--yellow); }
.usp-card--blue p { color: var(--muted-blue); }
.usp-card--yellow { background: var(--yellow); }
.usp-card--yellow .usp-card__num { color: #000; }

/* ---------- Section heads ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 80px; flex-wrap: wrap; margin-bottom: 56px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head__aside { max-width: 440px; }

/* ---------- Services ---------- */
.service-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.service-cards > :nth-child(even) { margin-top: 48px; }
.service-card {
	padding: 36px 32px; border-radius: var(--r-card); background: #fff; color: #000;
	display: flex; flex-direction: column; gap: 20px; min-height: 540px;
}
.service-card:hover { color: #000; }
.service-card h3, .service-card__h { font-size: 28px; letter-spacing: -.02em; color: var(--blue); }
.service-card p { font-size: 16px; color: var(--muted); }
.service-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 600; }
.service-card li { display: flex; gap: 10px; align-items: baseline; }
.service-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; transform: translateY(-2px); }
.service-card .more { margin-top: auto; }
.service-card .disc { transition: transform .6s var(--ease); }
.service-card:hover .disc { transform: rotate(-12deg) scale(1.06); }
.service-card--line { border: 2px solid var(--blue); }
.service-cards--page { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---------- Process ---------- */
.process__line { position: relative; }
.process__path { position: absolute; left: 0; top: 0; width: 100%; height: 120px; color: var(--blue); }
.process__path path { stroke-dashoffset: 0; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -600; } }
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step h3 { font-size: 22px; letter-spacing: -.01em; color: var(--blue); }
.step p { font-size: 16px; color: var(--muted); }
.step__num {
	width: 120px; height: 120px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-size: 36px; font-weight: 800; background: var(--blue); color: #fff; transition: transform .6s var(--ease);
}
.step:hover .step__num { transform: scale(1.08) rotate(-6deg); }
.step__num--yellow { background: var(--yellow); color: #000; }
.step__num--red { background: var(--red); color: #000; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 40px 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; gap: 16px; color: #000; }
.card:hover { color: #000; }
.card.is-hidden { display: none; }
.media {
	position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
	border-radius: 40px; aspect-ratio: 4 / 3;
}
.card--lg .media { border-radius: var(--r-card); aspect-ratio: 16 / 10; }
.media--post { aspect-ratio: 3 / 2; }
.media__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .media__img { transform: scale(1.06); }
.media__ph { font-size: 14px; font-style: italic; text-align: center; padding: 16px; }
.media__ph small, .hero__ph small { display: block; margin-top: 6px; font-style: normal; font-weight: 700; font-size: 12px; opacity: .85; }
.tone-blue { background: var(--blue); color: var(--muted-blue); }
.tone-yellow { background: var(--yellow); color: #000; }
.tone-black { background: #000; color: #fff; }
.tone-red { background: var(--red); color: #000; }
.tone-burst { background: repeating-conic-gradient(from 0deg at 50% 60%, var(--burst) 0deg 8deg, var(--yellow) 8deg 16deg); color: #000; }
.card__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 8px; }
.card__text { display: flex; flex-direction: column; gap: 4px; }
.card__title { font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.card--lg .card__title { font-size: 26px; }
.card__sub { font-size: 16px; color: var(--muted); }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--muted); }
.card__meta b { color: var(--red); }

/* ---------- Testimonials ---------- */
.testimonials__grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.slider-nav { display: flex; gap: 12px; margin-top: 32px; }
.quote-card { background: #fff; border-radius: var(--r-card); padding: clamp(32px, 4.5vw, 56px) clamp(28px, 4.5vw, 64px); min-height: 400px; display: flex; flex-direction: column; gap: 28px; }
.quote-card__mark { color: var(--blue); }
.slide { margin: 0; display: flex; flex-direction: column; gap: 28px; flex: 1; }
.slide.is-on { animation: slideIn .7s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.slide blockquote { margin: 0; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.4; font-weight: 500; letter-spacing: -.01em; }
.slide figcaption { margin-top: auto; display: flex; align-items: center; gap: 16px; }
.slide figcaption b { display: block; font-size: 18px; }
.slide figcaption small { font-size: 15px; color: var(--muted); }
.avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; overflow: hidden; flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.slide__count { margin-left: auto; font-weight: 700; color: var(--blue); font-size: 15px; }

/* ---------- CTA ---------- */
.cta-wrap { padding-bottom: var(--section); }
.cta {
	position: relative; overflow: hidden; border-radius: var(--r-big); background: var(--blue);
	padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 80px); min-height: 440px; display: flex; align-items: center;
}
.cta__blob { position: absolute; right: -80px; top: -120px; width: min(520px, 60vw); aspect-ratio: 1; }
.cta__copy { position: relative; max-width: 760px; display: flex; flex-direction: column; gap: 24px; }
.cta h2 { font-size: clamp(40px, 5vw, 68px); color: #fff; letter-spacing: -.035em; line-height: 1.02; }
.cta p { font-size: 20px; color: var(--muted-blue); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: #fff; padding: clamp(56px, 6vw, 80px) 0 40px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid #333; }
.site-footer__cta-title { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer__brand p { margin-top: 20px; color: #ccc; max-width: 360px; }
.site-footer__col h2 { font-size: 16px; letter-spacing: 0; color: var(--yellow); margin-bottom: 16px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer__col .muted { color: #ccc; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid #333; font-size: 14px; color: #ccc; }
.site-footer__socials { display: flex; flex-wrap: wrap; gap: 24px; }

/* ---------- Service page ---------- */
.svc-hero { position: relative; }
.svc-hero__body { background: var(--blue); color: #fff; position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 40px; }
.svc-hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 28px; }
.svc-hero__copy > * { max-width: 720px; }
.svc-hero__title { font-size: clamp(46px, 6vw, 84px); line-height: 1; letter-spacing: -.035em; color: #fff; }
.svc-hero__text { font-size: var(--fs-lead); color: var(--muted-blue); }
.svc-hero--short .svc-hero__body { padding-bottom: 72px; }
.crumbs { font-size: 15px; color: var(--muted-blue); }
.crumbs a { color: var(--muted-blue); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; font-weight: 700; }
.svc-hero__art { position: absolute; right: 4%; top: 6%; width: min(520px, 40vw); aspect-ratio: 1; }
.svc-hero__blob { position: absolute; inset: 0; border: 6px solid #000; }
.svc-hero__disc { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; transform: translate(-50%, -50%); border: 6px solid #fff; }
.float-chip--s1 { left: -8%; top: 12%; padding: 12px 22px; }
.float-chip--s2 { right: -4%; bottom: 14%; padding: 12px 22px; animation-delay: -2s; }
.float-chip--s3 { left: 6%; bottom: -2%; padding: 12px 22px; background: var(--red); animation-delay: -4s; }
.svc-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 56px; position: relative; z-index: 2; }
.svc-tab { padding: 12px 22px; border-radius: var(--r-pill); border: 2px solid rgba(255, 255, 255, .5); color: #fff; font-weight: 600; font-size: 15px; transition: background .3s, color .3s, border-color .3s; }
.svc-tab:hover { border-color: #fff; color: #fff; }
.svc-tab.is-on { background: #fff; border-color: #fff; color: var(--blue); font-weight: 700; }

.feature { padding: 40px; border-radius: var(--r-card); display: flex; flex-direction: column; gap: 16px; min-height: 280px; }
.feature h3 { font-size: 24px; letter-spacing: -.02em; }
.feature p { font-size: 16px; }
.feature--line { border: 2px solid var(--blue); }
.feature--line h3 { color: var(--blue); }
.feature--line p { color: var(--muted); }
.feature--blue { background: var(--blue); color: #fff; }
.feature--blue .disc { background: #fff; color: var(--blue); }
.feature--blue p { color: var(--muted-blue); }
.feature--yellow { background: var(--yellow); }
.feature--yellow .disc { background: #000; color: var(--yellow); }

.dark-panel { position: relative; overflow: hidden; background: #000; border-radius: var(--r-big); padding: clamp(40px, 5vw, 64px) clamp(28px, 5vw, 72px); }
.dark-panel__blob { position: absolute; left: -120px; bottom: -200px; width: 420px; height: 420px; background: var(--blue); }
.dark-panel .h2 { position: relative; font-size: clamp(32px, 3.4vw, 48px); margin-bottom: 44px; }
.flow-steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.flow-steps__n { display: block; font-size: 64px; font-weight: 800; letter-spacing: -.04em; color: var(--yellow); line-height: 1; margin-bottom: 12px; }
.flow-steps h3 { font-size: 22px; color: #fff; letter-spacing: -.01em; margin-bottom: 8px; }
.flow-steps p { color: #ccc; font-size: 16px; }

.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: center; }
.package { position: relative; padding: 48px 40px; border-radius: var(--r-card); border: 2px solid var(--blue); display: flex; flex-direction: column; gap: 20px; }
.package h3 { font-size: 22px; letter-spacing: -.01em; color: var(--blue); }
.package__price { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.package__price small { font-size: 16px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.package__note { color: var(--muted); }
.package ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.package li { display: flex; gap: 10px; align-items: flex-start; }
.package li .icon { color: var(--blue); flex-shrink: 0; margin-top: 4px; }
.package .pill { margin-top: 12px; }
.package--featured { background: var(--blue); color: #fff; padding-top: 64px; padding-bottom: 64px; }
.package--featured h3, .package--featured li .icon { color: #fff; }
.package--featured .package__price small, .package--featured .package__note { color: var(--muted-blue); }
.package__flag { position: absolute; top: -18px; right: 40px; padding: 8px 16px; border-radius: var(--r-pill); background: var(--yellow); color: #000; font-size: 13px; font-weight: 800; }

.feature-case { display: flex; min-height: 480px; border-radius: var(--r-big); background: var(--yellow); overflow: hidden; color: #000; }
.feature-case:hover { color: #000; }
.feature-case__copy { flex: 0 0 min(560px, 50%); padding: clamp(40px, 5vw, 64px) clamp(28px, 5vw, 72px); display: flex; flex-direction: column; gap: 20px; }
.feature-case__title { font-size: clamp(32px, 3.4vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.feature-case__media { flex: 1; margin: 40px; background: var(--blue); color: var(--muted-blue); display: flex; align-items: center; justify-content: center; overflow: hidden; font-style: italic; }
.feature-case .more { margin-top: auto; }

.faq { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.faq__intro .lead { margin-top: 16px; }
.accordion__item h3 { margin: 0; font-size: inherit; letter-spacing: 0; }
.accordion__btn {
	width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0;
	background: none; border: 0; border-bottom: 2px solid var(--blue); cursor: pointer; text-align: left;
	font: 700 clamp(18px, 1.6vw, 22px)/1.3 var(--font); color: var(--blue);
}
.accordion__sign { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .4s var(--ease), background .3s; }
.accordion__btn[aria-expanded="true"] .accordion__sign { transform: rotate(135deg); background: var(--red); color: #000; }
.accordion__panel p { padding: 20px 0 8px; font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 760px; }
.accordion__panel:not([hidden]) { animation: slideDown .5s var(--ease); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Page hero / listings ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); }
.page-hero__blob { position: absolute; right: -60px; top: -80px; width: min(460px, 45vw); aspect-ratio: 1; }
.page-hero__inner { position: relative; display: flex; flex-direction: column; gap: 28px; }
.page-hero__inner .lead { max-width: 620px; }
.page-hero__title { font-size: var(--fs-hero); line-height: .98; letter-spacing: -.04em; color: var(--blue); max-width: 1000px; }
.switch { display: inline-flex; align-self: flex-start; padding: 6px; border-radius: var(--r-pill); border: 2px solid var(--blue); background: #fff; }
.switch__tab {
	min-height: 64px; padding: 0 36px; border-radius: var(--r-pill); border: 0; background: transparent; cursor: pointer;
	display: inline-flex; align-items: center; font: 800 clamp(17px, 1.6vw, 22px) var(--font); color: var(--blue);
	transition: background .4s var(--ease), color .4s var(--ease);
}
.switch__tab:hover { color: var(--blue-deep); }
.switch__tab.is-on { background: var(--blue); color: #fff; }
.featured { display: flex; min-height: 520px; border-radius: var(--r-big); background: var(--blue); color: #fff; overflow: hidden; margin: 24px 0 72px; }
.featured:hover { color: #fff; }
.featured__copy { flex: 0 0 min(560px, 45%); padding: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; gap: 20px; }
.featured__title { font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.featured__text { font-size: 18px; color: var(--muted-blue); }
.featured .more { color: #fff; margin-top: auto; }
.featured__media { flex: 1; margin: 48px; background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; overflow: hidden; font-style: italic; }
.featured__media .media__img, .feature-case__media .media__img { width: 100%; height: 100%; object-fit: cover; }
.listing__body { padding-bottom: 32px; }
.listing__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.search-pill { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: var(--r-pill); border: 2px solid var(--blue); color: var(--blue); }
.search-pill input { border: 0; outline: 0; background: transparent; font: 400 16px var(--font); width: 200px; color: #000; }
.pager { display: flex; justify-content: center; margin-top: 56px; }
.pager .page-numbers { width: 48px; height: 48px; margin: 0 6px; border-radius: 50%; border: 2px solid var(--blue); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--blue); transition: background .3s, color .3s; }
.pager .page-numbers.current, .pager a.page-numbers:hover { background: var(--blue); color: #fff; }
.pager .page-numbers.dots { border: 0; }

.newsletter { border-radius: var(--r-big); background: var(--yellow); padding: clamp(40px, 5vw, 72px) clamp(28px, 5vw, 80px); display: flex; justify-content: space-between; align-items: center; gap: 32px 60px; flex-wrap: wrap; }
.newsletter__copy { max-width: 560px; display: flex; flex-direction: column; gap: 16px; }
.newsletter h2 { font-size: clamp(34px, 3.8vw, 52px); }
.newsletter p { font-size: 18px; }
.newsletter__form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.newsletter__form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.newsletter__form input { min-height: 60px; width: min(340px, 80vw); padding: 0 24px; border-radius: var(--r-pill); border: 2px solid #000; font: 400 17px var(--font); background: #fff; }
.newsletter__ok { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; }
.form-error { width: 100%; padding: 14px 20px; border-radius: 20px; background: #fff0f1; border: 2px solid var(--red); color: #000; font-weight: 600; }

/* ---------- Case study ---------- */
.case__head { padding-top: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 28px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.back-link .icon { transition: transform .35s var(--ease); }
.back-link:hover .icon { transform: translateX(-4px); }
.case__title { font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -.04em; color: var(--blue); max-width: 1100px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 16px 0 0; padding: 32px 0; border-top: 2px solid var(--blue); border-bottom: 2px solid var(--blue); }
.facts dt { font-size: 14px; font-style: italic; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-size: 20px; font-weight: 700; }
.case__hero { margin-top: 40px; border-radius: var(--r-big); min-height: 600px; display: flex; align-items: center; justify-content: center; padding: 60px; overflow: hidden; }
.case__hero-media { width: min(900px, 100%); aspect-ratio: 16 / 10; background: var(--blue); border: 6px solid #000; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted-blue); font-style: italic; }
.case__hero-media .media__img { width: 100%; height: 100%; object-fit: cover; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 80px); }
.approach { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; font-size: 19px; line-height: 1.6; }
.result { padding: 36px 40px; border-radius: var(--r-card); background: #fff; display: flex; flex-direction: column; gap: 8px; }
.result strong { font-size: clamp(48px, 5vw, 72px); font-weight: 800; letter-spacing: -.04em; color: var(--blue); line-height: 1.1; }
.result span { font-size: 17px; color: var(--muted); }
.result--yellow { background: var(--yellow); }
.result--yellow strong, .result--yellow span { color: #000; }
.results .h2 { margin-bottom: 40px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery__item { margin: 0; overflow: hidden; border-radius: var(--r-card); aspect-ratio: 3 / 4; }
.gallery__item--1 { border-radius: 200px 200px var(--r-card) var(--r-card); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.big-quote { text-align: center; max-width: 1040px; }
.big-quote blockquote { margin: 0 0 24px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.35; font-weight: 500; letter-spacing: -.02em; }
.next-case { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 48px clamp(28px, 5vw, 64px); margin-bottom: var(--section); border-radius: var(--r-big); background: #000; color: #fff; }
.next-case:hover { color: #fff; }
.next-case small { display: block; font-size: 15px; font-style: italic; color: #ccc; margin-bottom: 8px; }
.next-case strong { font-size: clamp(30px, 4vw, 56px); letter-spacing: -.03em; line-height: 1.05; }
.next-case__btn { width: 96px; height: 96px; flex-shrink: 0; border-radius: 50%; background: var(--yellow); color: #000; display: flex; align-items: center; justify-content: center; transition: transform .5s var(--ease); }
.next-case:hover .next-case__btn { transform: translateX(8px) rotate(-10deg); }

/* ---------- Article ---------- */
.article__head { padding-top: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 24px; }
.article__title { font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -.035em; color: var(--blue); }
.article__media { margin: 48px 0; border-radius: var(--r-big); overflow: hidden; }
.article__media img { width: 100%; }
.article__body { padding-top: 40px; padding-bottom: 40px; }
.article__share { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-bottom: var(--section); }
.article__share span { font-weight: 700; margin-right: 8px; }
.article__share a { padding: 10px 18px; border-radius: var(--r-pill); border: 2px solid var(--blue); font-weight: 700; font-size: 14px; }
.article__share a:hover { background: var(--blue); color: #fff; }
.prose { font-size: 19px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(28px, 2.8vw, 40px); color: var(--blue); margin-top: 1.6em; }
.prose h3 { font-size: 24px; margin-top: 1.4em; letter-spacing: -.02em; }
.prose a { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.prose img { border-radius: 32px; }
.prose blockquote { margin: 1.6em 0; padding: 24px 32px; border-radius: 32px; background: var(--yellow); font-size: 22px; font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.2em; }
.page-body { padding-bottom: var(--section); }

/* ---------- Contact ---------- */
.contact { padding: 32px 0 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact__panel {
	position: relative; overflow: hidden; border-radius: var(--r-big); background: var(--blue); color: #fff;
	padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 56px); min-height: 820px; display: flex; flex-direction: column; gap: 28px;
}
.contact__blob { position: absolute; right: -140px; bottom: -140px; width: 440px; height: 440px; border: 6px solid #000; }
.contact__title { font-size: clamp(56px, 6vw, 80px); line-height: .98; letter-spacing: -.04em; position: relative; }
.contact__intro { font-size: 19px; color: var(--muted-blue); position: relative; }
.contact__list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; position: relative; }
.contact__list a, .contact__row { display: flex; align-items: center; gap: 16px; color: #fff; font-size: 18px; }
.contact__list a:hover { color: var(--yellow); }
.contact__list small { display: block; color: var(--muted-blue); font-size: 16px; }
.contact__socials { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.contact__socials a { padding: 10px 18px; border-radius: var(--r-pill); border: 2px solid rgba(255, 255, 255, .6); color: #fff; font-size: 14px; font-weight: 700; }
.contact__socials a:hover { background: #fff; color: var(--blue); }
.contact__main { padding-top: 24px; }
.kform { display: flex; flex-direction: column; gap: 32px; }
.kform__group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.kform__group legend { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 14px; padding: 0; }
.kform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 700; color: var(--blue); }
.field input, .field textarea {
	min-height: 60px; padding: 0 24px; border-radius: var(--r-pill); border: 2px solid var(--blue);
	font: 400 17px var(--font); color: #000; background: #fff; transition: box-shadow .25s;
}
.field textarea { padding: 18px 24px; border-radius: 28px; resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: 0; box-shadow: 0 0 0 4px var(--yellow); }
.check { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--muted); }
.check input { width: 22px; height: 22px; accent-color: var(--blue); }
.kform__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.thanks { min-height: 600px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.thanks__tick { width: 120px; height: 120px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; animation: pop .7s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.map { height: 460px; border-radius: var(--r-big); overflow: hidden; background: var(--muted-blue); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map__ph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; }
.map__pin { width: 72px; height: 72px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--blue); border: 4px solid #fff; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: rotate(-45deg) translate(0, 0); } 50% { transform: rotate(-45deg) translate(6px, -6px); } }
.map__label { padding: 12px 22px; border-radius: var(--r-pill); background: #fff; font-weight: 700; color: var(--blue); }

/* ---------- WordPress bits ---------- */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, figcaption { font-size: 14px; color: var(--muted); }
.search-form { display: flex; gap: 12px; }
.search-form input[type="search"] { min-height: 52px; padding: 0 20px; border-radius: var(--r-pill); border: 2px solid var(--blue); font: 16px var(--font); }
.search-form .search-submit { min-height: 52px; padding: 0 24px; border-radius: var(--r-pill); border: 2px solid var(--blue); background: var(--blue); color: #fff; font-weight: 700; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
	.service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.service-cards > :nth-child(even) { margin-top: 0; }
	.service-cards > :nth-child(2), .service-cards > :nth-child(4) { transform: translateY(40px); }
	.service-cards > .lift:hover:nth-child(2), .service-cards > .lift:hover:nth-child(4) { transform: translateY(30px); }
	.service-card { min-height: 480px; }
}

/* Tablet: burger menu */
@media (max-width: 1100px) {
	:root { --header-h: 84px; }
	.primary-nav, .site-header__cta { display: none; }
	.burger { display: inline-flex; }
	.hero__grid { grid-template-columns: 1fr; }
	.hero__art { justify-self: center; max-width: 560px; }
	.usps__grid, .testimonials__grid, .faq { grid-template-columns: 1fr; }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
	.process__path { display: none; }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; }
	.contact__grid { grid-template-columns: 1fr; }
	.contact__panel { min-height: 0; }
	.svc-hero__art { opacity: .35; right: -10%; width: 60vw; }
	.svc-hero__art .float-chip { display: none; }
	.featured, .feature-case { flex-direction: column; }
	.featured__copy, .feature-case__copy { flex-basis: auto; }
	.featured__media, .feature-case__media { min-height: 320px; margin: 0 32px 32px; }
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone */
@media (max-width: 720px) {
	:root { --header-h: 76px; --r-card: 36px; --r-big: 40px; }
	body { font-size: 16px; }
	.brand__badge { width: 40px; height: 40px; font-size: 18px; }
	.brand__word { font-size: 22px; }
	.burger { width: 48px; height: 48px; }
	.hero__copy { gap: 24px; }
	.hero__actions .pill { width: 100%; }
	.float-chip { font-size: 14px; }
	.float-chip .disc--xs { width: 32px; height: 32px; }
	.spin-badge { width: 110px; height: 110px; }
	.spin-badge__ring text { font-size: 12px; }
	.clients { min-height: 104px; }
	.clients__label { padding-right: 20px; font-size: 12px; }
	.client { height: 52px; padding: 0 24px; }
	.usp-cards, .grid--2, .grid--3, .service-cards, .two-col, .gallery, .kform__grid { grid-template-columns: 1fr; }
	.usp-cards > :nth-child(even) { margin-top: 0; }
	.service-cards > :nth-child(2), .service-cards > :nth-child(4) { transform: none; }
	.service-card { min-height: 0; }
	.steps { grid-template-columns: 1fr; gap: 32px; }
	.step { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 20px; }
	.step__num { width: 72px; height: 72px; font-size: 26px; }
	.step p { flex-basis: 100%; }
	.section-head { margin-bottom: 36px; }
	.quote-card { min-height: 0; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__col:last-child { grid-column: 1 / -1; }
	.featured__media, .feature-case__media { margin: 0 20px 20px; min-height: 220px; }
	.switch { align-self: stretch; }
	.switch__tab { flex: 1; justify-content: center; padding: 0 16px; min-height: 56px; }
	.search-pill, .search-pill input { width: 100%; }
	.listing__bar .chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; margin: 0 calc(-1 * var(--side)); padding-left: var(--side); padding-right: var(--side); scrollbar-width: none; }
	.chip { flex-shrink: 0; }
	.facts { grid-template-columns: 1fr 1fr; gap: 16px; }
	.case__hero { min-height: 0; padding: 24px; }
	.next-case__btn { width: 64px; height: 64px; }
	.mobile-nav__menu .submenu__list { grid-template-columns: 1fr; }
	.mobile-nav__top { height: 76px; }
	.page-hero__blob { opacity: .5; }
	.btn-send, .newsletter__form, .newsletter__form label, .newsletter__form input, .btn-dark { width: 100%; justify-content: center; }
	.map { height: 320px; }
	.package--featured { padding-top: 48px; padding-bottom: 48px; }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Reduced motion: keep it calm */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}
