/* ==========================================================================
   Wavenity — main stylesheet
   ========================================================================== */

:root {
	/* Brand: charcoal + warm gradient from the Wavenity logo */
	--bg: #0f0f0f;
	--bg-rgb: 15, 15, 15;
	--surface: #1a1a1a;
	--surface-2: #242424;
	--ink: #f4f1ea;
	--on-ink: #111111;
	--on-ink-rgb: 17, 17, 17;
	--ink-soft: #cfcac1;
	--muted: #8f8b85;
	--faint: #3b3a38;
	--line: rgba(244, 241, 234, 0.12);
	--accent: #f28c38;
	--accent-ink: #111111;
	--brand-gradient: linear-gradient(135deg, #5a7196 0%, #d0716a 35%, #f28c38 65%, #f0d56e 100%);

	--font-display: "Urbanist", "Manrope", "Arial", sans-serif;
	--font-body: "Inter Tight", "Arial", sans-serif;

	--gutter: clamp(16px, 1.6vw, 24px);
	--radius: clamp(18px, 2vw, 28px);
	--radius-sm: 14px;
	--header-h: 72px;
	--section: clamp(96px, 12vw, 180px);

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Urbanist n-are glife chirilice, deci pe rusă tot ce e display trece pe Manrope. */
html[lang^="ru"] {
	--font-display: "Manrope", "Arial", sans-serif;
}

/* ---------------------------------------------------------------- Base */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

html.menu-open body {
	overflow: hidden;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
ol {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

::selection {
	background: var(--accent);
	color: var(--accent-ink);
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.container {
	width: 100%;
	padding-inline: var(--gutter);
	margin-inline: auto;
}

.center {
	display: flex;
	justify-content: center;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1000;
	padding: 10px 16px;
	border-radius: 10px;
	background: var(--ink);
	color: var(--on-ink);
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

/* Masked lines used by SplitText and the hero title */
.line,
.split-line {
	display: block;
	overflow: clip;
	padding-bottom: 0.08em;
	margin-bottom: -0.08em;
}

.line__inner {
	display: block;
}

/* ---------------------------------------------------------- Typography */

.eyebrow {
	display: inline-block;
	font-size: 14px;
	color: var(--ink);
	margin-bottom: 20px;
}

.eyebrow--light {
	color: rgba(var(--on-ink-rgb), 0.6);
}

.section-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(30px, 3.4vw, 54px);
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.section-title--xl {
	font-size: clamp(32px, 4vw, 64px);
}

.section-head {
	max-width: 900px;
	margin-bottom: clamp(40px, 5vw, 72px);
}

/* ------------------------------------------------------------- Buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0 40px;
	border-radius: var(--radius-sm);
	background: var(--ink);
	color: var(--on-ink);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 15px;
	white-space: nowrap;
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transition: color 0.4s var(--ease-out);
}

.btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--accent);
	border-radius: inherit;
	transform: translateY(101%);
	transition: transform 0.5s var(--ease-out);
}

.btn:hover {
	color: var(--accent-ink);
}

.btn:hover::before {
	transform: none;
}

.btn--small {
	min-height: 44px;
	padding: 0 22px;
	font-size: 14px;
	border-radius: 12px;
}

.btn--light {
	background: var(--on-ink);
	color: var(--ink);
}

.round-btn {
	position: relative;
	display: grid;
	place-items: center;
	width: clamp(150px, 13vw, 210px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--on-ink);
	color: var(--ink);
}

.round-btn__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	fill: currentColor;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	animation: spin 16s linear infinite;
}

.round-btn__core {
	display: grid;
	place-items: center;
	width: 52%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--brand-gradient);
	color: var(--accent-ink);
	transition: transform 0.6s var(--ease-out);
}

.round-btn__core svg {
	transition: transform 0.6s var(--ease-out);
}

.round-btn:hover .round-btn__core {
	transform: scale(1.12);
}

.round-btn:hover .round-btn__core svg {
	transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
	.round-btn__ring {
		animation: none;
	}
}

.pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pill {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 12px;
	background: var(--surface);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 14px;
	transition: background-color 0.3s, color 0.3s;
}

.pill i {
	font-size: 20px;
	line-height: 1;
}

.pill:hover {
	background: var(--accent);
	color: var(--accent-ink);
}

.pill--dark {
	background: rgba(var(--on-ink-rgb), 0.08);
	color: var(--on-ink);
}

/* Underline that draws in from the left on hover */
.link-underline {
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	transition: background-size 0.5s var(--ease-out);
}

.link-underline:hover {
	background-size: 0 1px;
	background-position: 100% 100%;
}

/* Text that rolls up on hover */
.link-roll {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
}

.link-roll span {
	display: inline-block;
	position: relative;
	transition: transform 0.5s var(--ease-out);
}

.link-roll span::after {
	content: attr(data-text);
	position: absolute;
	left: 0;
	top: 100%;
}

.link-roll:hover span {
	transform: translateY(-100%);
}

/* ---------------------------------------------------------------- Logo */

.logo {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	transition: opacity 0.3s;
}

.logo:hover {
	opacity: 0.75;
}

.logo__img {
	width: auto;
	height: 36px;
}

/* Dark logo only where the background is light */
.logo__img--dark,
.menu-open .header .logo__img--light,
.logo--on-light .logo__img--light {
	display: none;
}

.menu-open .header .logo__img--dark,
.logo--on-light .logo__img--dark {
	display: block;
}

.logo--large .logo__img {
	height: clamp(44px, 4vw, 64px);
}

.shape {
	fill: currentColor;
}

/* ------------------------------------------------------ Entry curtain */

/* Only shown when arriving from another page of the site (see runPreloader in app.js) */
.preloader {
	position: fixed;
	inset: 0;
	z-index: 900;
	background: var(--ink);
}

.no-js .preloader,
html:not(.is-returning) .preloader {
	display: none;
}

/* -------------------------------------------------------------- Header */

.header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 800;
	transition: transform 0.6s var(--ease-out), background-color 0.4s, backdrop-filter 0.4s;
}

.admin-bar .header {
	top: 32px;
}

.header.is-scrolled {
	background: rgba(var(--bg-rgb), 0.8);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.header.is-hidden {
	transform: translateY(-100%);
}

.menu-open .header {
	background: transparent;
	backdrop-filter: none;
	color: var(--on-ink);
	transform: none;
}

.header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: var(--header-h);
}

.header__nav {
	display: flex;
	gap: 32px;
	font-size: 15px;
	transition: opacity 0.3s;
}

.menu-open .header__nav,
.menu-open .header__cta {
	opacity: 0;
	pointer-events: none;
}

.header__actions {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 16px;
}

.burger {
	position: relative;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

.burger__line {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 24px;
	height: 2px;
	margin: -1px 0 0 -12px;
	border-radius: 2px;
	background: currentColor;
	transform: translateY(-4px);
	transition: transform 0.6s var(--ease-out), width 0.6s var(--ease-out);
}

.burger__line + .burger__line {
	transform: translateY(4px);
}

html:not(.menu-open) .burger:hover .burger__line + .burger__line {
	transform: translateY(4px) scaleX(0.6);
	transform-origin: right;
}

.menu-open .burger {
	background: var(--on-ink);
	color: var(--ink);
}

.menu-open .burger__line {
	transform: rotate(45deg);
}

.menu-open .burger__line + .burger__line {
	transform: rotate(-45deg);
}

.menu-open .burger:hover .burger__line {
	transform: rotate(135deg);
}

.menu-open .burger:hover .burger__line + .burger__line {
	transform: rotate(45deg);
}

/* ---------------------------------------------------------------- Menu */

.menu {
	position: fixed;
	inset: 0;
	z-index: 700;
	background: var(--ink);
	color: var(--on-ink);
	visibility: hidden;
	clip-path: inset(0 0 100% 0);
}

.menu__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	align-items: end;
	gap: 40px;
	height: 100%;
	padding-top: calc(var(--header-h) + 40px);
	padding-bottom: clamp(32px, 5vw, 64px);
}

.menu__link {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(44px, 7.5vw, 120px);
	line-height: 1;
	letter-spacing: -0.03em;
	transition: color 0.3s;
}

.menu__link:hover {
	color: var(--accent);
}

.menu__index {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	color: rgba(var(--on-ink-rgb), 0.4);
	padding-top: 0.8em;
}

.menu__mask {
	display: block;
	overflow: clip;
	padding-bottom: 0.06em;
}

.menu__link-inner {
	display: block;
}

.menu__aside {
	display: grid;
	gap: 12px;
	justify-items: start;
}

.menu__label {
	color: rgba(var(--on-ink-rgb), 0.5);
	font-size: 14px;
}

.menu__contact {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(20px, 2vw, 30px);
}

.menu__aside .pills {
	margin-top: 20px;
}

.menu .pill {
	background: rgba(var(--on-ink-rgb), 0.08);
	color: var(--on-ink);
}

.menu .pill:hover {
	background: var(--accent);
	color: var(--accent-ink);
}

/* ------------------------------------------------------ Language switcher */

.lang {
	display: flex;
	align-items: center;
	color: currentColor;
}

.lang--compact {
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.lang--compact .lang__item {
	opacity: 0.45;
	transition: opacity 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.lang--compact .lang__item:hover {
	opacity: 1;
	color: var(--accent);
}

.lang--compact .lang__item.is-current {
	opacity: 1;
}

.lang__sep {
	opacity: 0.25;
}

/* The header fades its nav out while the fullscreen menu is open; the switcher there
   takes over, so this one gets out of the way with it. */
.menu-open .lang--compact {
	opacity: 0;
	pointer-events: none;
}

.lang--full {
	display: grid;
	gap: 2px;
	justify-items: start;
	margin-top: 20px;
}

.lang--full .lang__item {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(17px, 1.4vw, 21px);
	color: rgba(var(--on-ink-rgb), 0.45);
	transition: color 0.3s var(--ease-out);
}

.lang--full .lang__item:hover {
	color: var(--accent);
}

.lang--full .lang__item.is-current {
	color: var(--on-ink);
}

/* ---------------------------------------------------------------- Hero */

.hero {
	padding-top: calc(var(--header-h) + clamp(40px, 7vw, 120px));
	padding-bottom: clamp(48px, 6vw, 96px);
}

.hero__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.hero__kicker {
	font-size: clamp(16px, 1.4vw, 22px);
	color: var(--ink-soft);
}

.hero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hero__tags li {
	padding: 7px 14px;
	border: 1px solid var(--line);
	border-radius: 99px;
	font-size: 13px;
	color: var(--ink-soft);
}

.hero__wordmark {
	position: relative;
	display: flex;
	align-items: center;
	margin: clamp(16px, 2vw, 32px) 0 clamp(40px, 5vw, 72px);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(64px, 19.2vw, 360px);
	line-height: 0.8;
	letter-spacing: -0.055em;
	color: var(--ink);
}

.hero__word {
	display: block;
	overflow: clip;
	padding-bottom: 0.08em;
	margin-bottom: -0.08em;
}

.hero__symbol {
	flex: none;
	width: 0.62em;
	height: 0.62em;
	margin-left: 0.04em;
	border-radius: 50%;
}

.hero__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 3vw, 48px);
	font-size: clamp(15px, 1.1vw, 17px);
	line-height: 1.6;
	color: var(--ink-soft);
}

/* ------------------------------------------------------ Project slider */

.showcase {
	padding-bottom: var(--section);
}

.showcase__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
	isolation: isolate;
}

.showcase__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
}

.showcase__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.showcase__slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.55) 62%, rgba(0, 0, 0, 0.88) 100%);
}

.showcase__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.showcase__caption {
	position: absolute;
	right: clamp(20px, 4vw, 72px);
	bottom: clamp(72px, 7vw, 120px);
	left: clamp(20px, 4vw, 72px);
	z-index: 1;
	display: grid;
	gap: 10px;
	max-width: 760px;
	color: #fff;
}

.showcase__label {
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.75;
}

.showcase__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(30px, 4vw, 64px);
	line-height: 1;
	letter-spacing: -0.02em;
}

.showcase__text {
	font-size: clamp(14px, 1.1vw, 17px);
	opacity: 0.85;
}

.showcase__dots {
	position: absolute;
	right: clamp(20px, 4vw, 72px);
	bottom: clamp(24px, 3vw, 44px);
	z-index: 2;
	display: flex;
	gap: 20px;
}

.showcase__dot {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	opacity: 0.6;
	transition: opacity 0.3s;
}

.showcase__dot.is-active,
.showcase__dot:hover {
	opacity: 1;
}

.showcase__dot i {
	position: relative;
	display: block;
	width: 48px;
	height: 2px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.35);
}

.showcase__dot b {
	position: absolute;
	inset: 0;
	background: #fff;
	transform: scaleX(0);
	transform-origin: left;
}

/* ------------------------------------------------------------ Sections */

.section {
	padding-bottom: var(--section);
}

.section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: clamp(28px, 3vw, 48px);
}

.section__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(36px, 5vw, 84px);
	line-height: 1;
	letter-spacing: -0.03em;
}

.link-arrow {
	display: inline-flex;
	gap: 8px;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--line);
	font-size: 15px;
	color: var(--ink-soft);
	transition: gap 0.4s var(--ease-out), color 0.3s, border-color 0.3s;
}

.link-arrow:hover {
	gap: 14px;
	color: var(--ink);
	border-color: var(--accent);
}

/* ----------------------------------------------------- Full-image tiles */

.tiles {
	display: grid;
	gap: var(--gutter);
}

.tiles--4 {
	grid-template-columns: repeat(4, 1fr);
}

.work__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--gutter);
}

.tile {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
	color: #fff;
	isolation: isolate;
}

.tile--portrait {
	aspect-ratio: 3 / 4;
}

.tile__media {
	position: absolute;
	inset: 0;
}

.tile__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: scale 1.1s var(--ease-out);
}

.tile:hover .tile__img {
	scale: 1.05;
}

.tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.85) 100%);
	pointer-events: none;
}

.tile__caption {
	position: absolute;
	right: 88px;
	bottom: clamp(16px, 2vw, 28px);
	left: clamp(16px, 2vw, 28px);
	z-index: 1;
	display: grid;
	gap: 4px;
}

.tile__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(20px, 2vw, 32px);
	line-height: 1.05;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.tile__meta {
	font-size: 13px;
	opacity: 0.8;
}

.tile__arrow {
	position: absolute;
	right: clamp(16px, 2vw, 28px);
	bottom: clamp(16px, 2vw, 28px);
	z-index: 1;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: background-color 0.4s, color 0.4s, transform 0.6s var(--ease-out);
}

.tile:hover .tile__arrow {
	background: #fff;
	color: #111;
	transform: rotate(45deg);
}

/* ------------------------------------------------------------- Marquee */

.marquee {
	overflow: hidden;
	padding-block: clamp(28px, 3vw, 44px);
	border-block: 1px solid var(--line);
}

.marquee__track {
	display: flex;
	width: max-content;
}

.marquee__group {
	display: flex;
	align-items: center;
	gap: clamp(24px, 3vw, 48px);
	padding-right: clamp(24px, 3vw, 48px);
}

.marquee__item {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(28px, 4vw, 64px);
	letter-spacing: -0.03em;
	white-space: nowrap;
	color: var(--faint);
	transition: color 0.3s;
}

.marquee__item:hover {
	color: var(--ink);
}

.marquee__star {
	flex: none;
	width: clamp(18px, 2vw, 30px);
	height: clamp(18px, 2vw, 30px);
	fill: var(--accent);
}

/* ------------------------------------------------------------ Services */

.services__lead {
	max-width: 560px;
	margin-top: 24px;
	color: var(--ink-soft);
	font-size: clamp(15px, 1.1vw, 18px);
}

/* ------------------------------------------------------ Results/process */

.results {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--gutter);
	padding-block: var(--section);
}

.results__intro {
	align-self: start;
}

.stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-top: clamp(40px, 5vw, 72px);
	max-width: 640px;
}

.stat {
	display: grid;
	align-content: space-between;
	gap: 24px;
	min-height: 180px;
	padding: 20px;
	border-radius: var(--radius);
	background: var(--surface);
}

.stat__num {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(32px, 3vw, 48px);
	line-height: 1;
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
}

.stat__label {
	font-size: 13px;
	line-height: 1.3;
	color: var(--muted);
}

.process {
	counter-reset: step;
	padding-top: clamp(40px, 4vw, 60px);
}

.process__item {
	counter-increment: step;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: baseline;
	column-gap: 20px;
	padding-block: 10px;
	color: var(--faint);
	transition: color 0.5s var(--ease-out);
}

.process__item::before {
	content: "0" counter(step);
	grid-row: span 2;
	font-size: 13px;
	transform: translateY(-1.6em);
}

.process__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(34px, 4.4vw, 72px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	transition: transform 0.6s var(--ease-out);
}

.process__text {
	max-height: 0;
	overflow: hidden;
	font-size: 15px;
	color: var(--ink-soft);
	opacity: 0;
	transition: max-height 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
}

.process__item.is-active,
.process__item:hover {
	color: var(--ink);
}

.process__item.is-active .process__title,
.process__item:hover .process__title {
	transform: translateX(12px);
}

.process__item.is-active .process__text,
.process__item:hover .process__text {
	max-height: 3em;
	opacity: 1;
	padding-left: 12px;
}

/* -------------------------------------------------------- Testimonials */

.testimonials__slider {
	overflow: visible;
}

/* Slides stretch to the tallest one, so every card has the same height.
   Scoped selectors beat Swiper's own `.swiper-slide { display: block; height: 100% }`. */
.testimonials__slider .swiper-wrapper {
	align-items: stretch;
}

.testimonials__slider .testimonial {
	display: flex;
	height: auto;
}

.testimonial {
	flex-direction: column;
	margin: 0;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	transition: border-color 0.4s;
}

.testimonial:hover {
	border-color: rgba(242, 140, 56, 0.4);
}

/* Same grey as the Facebook card, so shorter screenshots blend into the extra space */
.testimonial__body {
	flex: 1;
	padding: 14px 12px;
	border-radius: calc(var(--radius) - 10px);
	background: #252728;
}

.testimonial__img {
	width: 100%;
	height: auto;
}

.testimonial__caption {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 8px 6px;
	font-size: 13px;
	color: var(--muted);
}

.testimonial__caption i {
	font-size: 18px;
	color: #1877f2;
}

.slider-nav {
	display: flex;
	gap: 8px;
}

.slider-nav__btn {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid var(--line);
	border-radius: 50%;
	font-size: 20px;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
}

.slider-nav__btn:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--accent-ink);
}

.slider-nav__btn.swiper-button-disabled {
	opacity: 0.3;
	pointer-events: none;
}

/* Nothing to navigate when all slides fit (watchOverflow) */
.slider-nav__btn.swiper-button-lock {
	display: none;
}

/* ------------------------------------------------------------ WhatsApp */

.whatsapp {
	position: fixed;
	right: var(--gutter);
	bottom: var(--gutter);
	z-index: 650;
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.whatsapp i {
	font-size: 30px;
	line-height: 1;
}

.whatsapp::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: inherit;
	animation: whatsapp-pulse 2.4s var(--ease-out) infinite;
}

.whatsapp:hover {
	transform: scale(1.08);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

html.menu-open .whatsapp {
	opacity: 0;
	pointer-events: none;
}

@keyframes whatsapp-pulse {
	from {
		transform: scale(1);
		opacity: 0.5;
	}

	to {
		transform: scale(1.6);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.whatsapp::before {
		animation: none;
	}
}

@media (max-width: 640px) {
	.whatsapp {
		width: 54px;
		height: 54px;
	}
}

/* -------------------------------------------------------------- Footer */

.footer {
	overflow: hidden;
	background: var(--ink);
	color: var(--on-ink);
	border-radius: var(--radius) var(--radius) 0 0;
}

.footer__inner {
	padding-top: clamp(80px, 10vw, 160px);
	padding-bottom: var(--gutter);
}

.footer__cta {
	position: relative;
	padding-bottom: clamp(64px, 8vw, 120px);
	border-bottom: 1px solid rgba(var(--on-ink-rgb), 0.1);
}

.footer__title {
	max-width: 1100px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(38px, 6vw, 104px);
	line-height: 1;
	letter-spacing: -0.04em;
}

.footer__cta .round-btn {
	position: absolute;
	right: 0;
	bottom: clamp(64px, 8vw, 120px);
}

.footer__grid {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	gap: 32px;
	padding-block: 40px clamp(64px, 8vw, 120px);
}

.footer__contacts {
	display: grid;
	justify-items: start;
	gap: 8px;
}

.footer__tagline {
	max-width: 380px;
	margin-bottom: 24px;
	font-size: 14px;
	color: rgba(var(--on-ink-rgb), 0.6);
}

.footer__big {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(22px, 2.2vw, 34px);
	letter-spacing: -0.02em;
}

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 13px;
	color: rgba(var(--on-ink-rgb), 0.5);
}

/* The three legal pages read as one group, so they keep their own tighter gap. */
.footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 15px;
}

/* ------------------------------------------------------ Generic listing */

.page {
	min-height: 70vh;
	padding-top: calc(var(--header-h) + 80px);
	padding-bottom: var(--section);
	max-width: 900px;
}

.page__item {
	padding-block: 32px;
	border-bottom: 1px solid var(--line);
}

.page__title {
	margin-bottom: 12px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(24px, 2.4vw, 36px);
}

/* ----------------------------------------------------------- Keyframes */

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* ---------------------------------------------------------- Responsive */

@media (max-width: 1100px) {
	.header__nav {
		display: none;
	}

	.header__inner {
		grid-template-columns: 1fr auto;
	}

	.tiles--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.results {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1023px) {
	.hero__cols {
		grid-template-columns: 1fr;
		max-width: 620px;
	}

	.showcase__frame {
		aspect-ratio: 4 / 3;
	}

	.menu__inner {
		grid-template-columns: 1fr;
		align-content: end;
	}

	.footer__grid {
		grid-template-columns: 1fr;
	}

	.footer__cta .round-btn {
		position: relative;
		bottom: auto;
		margin-top: 40px;
	}
}

@media (max-width: 640px) {
	.lang--compact {
		display: none;
	}

	:root {
		--header-h: 64px;
	}

	.logo__img {
		height: 30px;
	}

	.header__cta,
	.showcase__text {
		display: none;
	}

	.showcase__frame {
		aspect-ratio: 3 / 4;
	}

	.work__grid,
	.tiles--4,
	.stats {
		grid-template-columns: 1fr;
	}

	.tile--portrait {
		aspect-ratio: 4 / 3;
	}
}

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

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
