/* ECONSCO — glassmorphic theme on the brand navy + lime palette. */

:root {
	--navy-950: #06172a;
	--navy-900: #0b2238;
	--navy-800: #10304d;
	--navy-700: #173d5f;
	--lime: #b6e21d;
	--lime-600: #9dc615;
	--teal: #1fb6a6;
	--text: #eef3f7;
	--muted: #a9b8c6;
	--on-lime: #0b2238;

	--glass-bg: rgba(255, 255, 255, 0.055);
	--glass-bg-strong: rgba(255, 255, 255, 0.085);
	--glass-border: rgba(255, 255, 255, 0.12);
	--glass-highlight: rgba(255, 255, 255, 0.22);
	--glass-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.55);
	--blur: 18px;

	--font-display: "Instrument Serif", "Playfair Display", Georgia, serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-brand: "Barlow Condensed", "Arial Narrow", sans-serif;

	--radius: 22px;
	--radius-sm: 14px;
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(64px, 9vw, 120px);
}

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

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

body {
	margin: 0;
	background: var(--navy-900);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

a {
	color: var(--lime);
	text-decoration: none;
	transition: color 0.2s;
}

a:hover {
	color: #d4f36b;
}

p {
	margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	line-height: 1.1;
	font-weight: 400;
}

:focus-visible {
	outline: 2px solid var(--lime);
	outline-offset: 3px;
	border-radius: 6px;
}

::selection {
	background: var(--lime);
	color: var(--on-lime);
}

.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: 10px 16px;
	background: var(--lime);
	color: var(--on-lime);
	border-radius: 10px;
	font-weight: 600;
}

.skip-link:focus {
	top: 16px;
}

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

/* ---------- Background: glows + faint outline motifs from the brand art ---------- */

.bg-decor {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
	background:
		radial-gradient(1200px 600px at 80% -10%, rgba(23, 61, 95, 0.9), transparent 60%),
		radial-gradient(900px 700px at -10% 110%, rgba(16, 48, 77, 0.9), transparent 60%),
		var(--navy-900);
}

.glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.35;
}

.glow--lime {
	width: 520px;
	height: 520px;
	right: -140px;
	top: 60px;
	background: var(--lime);
	opacity: 0.18;
	animation: drift 18s ease-in-out infinite alternate;
}

.glow--teal {
	width: 600px;
	height: 600px;
	left: -220px;
	bottom: -160px;
	background: var(--teal);
	opacity: 0.16;
	animation: drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
	to {
		transform: translate(-60px, 80px) scale(1.1);
	}
}

.outline {
	position: absolute;
	fill: none;
	stroke: rgba(182, 226, 29, 0.07);
	stroke-width: 6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.outline--star {
	width: 420px;
	top: -120px;
	left: -150px;
}

.outline--arrow {
	width: 460px;
	bottom: -170px;
	right: -140px;
}

/* ---------- Glass ---------- */

.glass {
	position: relative;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
	border: 1px solid var(--glass-border);
	border-radius: var(--radius);
	box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
	-webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
	backdrop-filter: blur(var(--blur)) saturate(140%);
}

.glass--strong {
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.glass {
		background: rgba(16, 48, 77, 0.92);
	}
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font: 600 15px/1.2 var(--font-body);
	cursor: pointer;
	transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s;
	white-space: nowrap;
}

.btn .icon {
	width: 18px;
	height: 18px;
	transition: transform 0.2s;
}

.btn:hover .icon {
	transform: translateX(3px);
}

.btn--primary {
	background: var(--lime);
	color: var(--on-lime);
	box-shadow: 0 10px 30px -10px rgba(182, 226, 29, 0.6);
}

.btn--primary:hover {
	background: #c6ee3c;
	color: var(--on-lime);
	transform: translateY(-2px);
}

.btn--glass {
	background: rgba(255, 255, 255, 0.07);
	border-color: var(--glass-border);
	color: var(--text);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.btn--glass:hover {
	background: rgba(255, 255, 255, 0.13);
	border-color: rgba(182, 226, 29, 0.5);
	color: var(--text);
}

.btn--sm {
	padding: 10px 18px;
	font-size: 14px;
}

.btn--lg {
	padding: 16px 28px;
	font-size: 16px;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 15px;
}

.link-arrow .icon {
	width: 18px;
	height: 18px;
	transition: transform 0.2s;
}

.link-arrow:hover .icon {
	transform: translateX(4px);
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	padding: 14px 0;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 68px;
	padding-top: 10px;
	padding-bottom: 10px;
	border-radius: 999px;
	max-width: calc(var(--container) - 2 * var(--gutter));
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	flex-shrink: 0;
}

.brand:hover {
	color: var(--text);
}

.brand__mark {
	width: 34px;
	height: 34px;
}

.brand__name {
	font: 700 26px/1 var(--font-brand);
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.brand .custom-logo {
	max-height: 44px;
	width: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.site-nav .menu {
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav .menu a {
	display: block;
	padding: 8px 14px;
	border-radius: 999px;
	color: var(--muted);
	font-size: 15px;
	font-weight: 500;
}

.site-nav .menu a:hover,
.site-nav .menu .current-menu-item > a,
.site-nav .menu .current_page_item > a,
.site-nav .menu .current_page_parent > a {
	color: var(--text);
	background: rgba(255, 255, 255, 0.08);
}

.site-nav .sub-menu {
	display: none;
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--glass-border);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: var(--text);
	cursor: pointer;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-menu {
	display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
	display: block;
}

@media (max-width: 900px) {
	.site-header__inner {
		border-radius: 24px;
		flex-wrap: wrap;
		margin: 0 16px;
		width: auto;
		padding-left: 18px;
		padding-right: 12px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		display: none;
		flex-basis: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 8px 0 12px;
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav .menu {
		flex-direction: column;
	}

	.site-nav .menu a {
		padding: 12px 14px;
		font-size: 17px;
	}
}

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

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	color: var(--lime);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.eyebrow .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lime);
	box-shadow: 0 0 0 5px rgba(182, 226, 29, 0.18);
}

.section-title {
	font-family: var(--font-display);
	font-size: clamp(38px, 5vw, 60px);
	letter-spacing: -0.01em;
}

.section-lead {
	color: var(--muted);
	font-size: 18px;
	max-width: 60ch;
}

.section {
	padding: calc(var(--section) / 2) 0;
}

.section--tight {
	padding-top: 0;
}

.section-head {
	max-width: 720px;
	margin-bottom: 44px;
}

.section-head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	max-width: none;
	flex-wrap: wrap;
}

.grid {
	display: grid;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

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

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

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

@media (max-width: 1000px) {
	.grid--3,
	.grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.grid--2,
	.grid--3,
	.grid--4 {
		grid-template-columns: 1fr;
	}
}

.split {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: clamp(32px, 6vw, 80px);
	align-items: start;
}

@media (max-width: 900px) {
	.split {
		grid-template-columns: 1fr;
	}
}

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

.hero {
	padding: clamp(48px, 8vw, 110px) 0 clamp(56px, 8vw, 100px);
}

.hero__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: clamp(40px, 6vw, 72px);
	align-items: center;
}

.hero__title {
	font-family: var(--font-display);
	font-size: clamp(46px, 6.6vw, 88px);
	line-height: 1;
	letter-spacing: -0.015em;
	margin-bottom: 24px;
}

.hero__text {
	color: var(--muted);
	font-size: clamp(17px, 1.6vw, 19px);
	max-width: 54ch;
	margin-bottom: 34px;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.hero__visual {
	position: relative;
	padding: 80px 0 20px;
}

.dash {
	padding: 26px;
	transform: rotate(-2deg);
	animation: float 8s ease-in-out infinite;
}

@keyframes float {
	50% {
		transform: rotate(-2deg) translateY(-10px);
	}
}

.dash__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
	font-weight: 600;
	font-size: 15px;
}

.dash__pill {
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(182, 226, 29, 0.15);
	color: var(--lime);
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.dash__chart {
	width: 100%;
	height: 150px;
	margin-bottom: 20px;
}

.dash__channels {
	display: grid;
	gap: 10px;
}

.dash__channel {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.07);
	font-size: 15px;
	font-weight: 500;
}

.dash__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: rgba(182, 226, 29, 0.14);
	color: var(--lime);
}

.dash__icon .icon {
	width: 18px;
	height: 18px;
}

.burst {
	position: absolute;
	right: -44px;
	top: -6px;
	width: 230px;
	height: 138px;
	display: grid;
	place-items: center;
	text-align: center;
	color: var(--on-lime);
	animation: float-burst 7s ease-in-out infinite;
	filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.4));
}

@keyframes float-burst {
	50% {
		transform: translateY(8px) rotate(2deg);
	}
}

.burst > svg:first-child {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.burst__text {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.burst__num {
	font: 400 46px/1 var(--font-display);
}

.burst__label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.sparkle {
	position: absolute;
	fill: var(--lime);
}

.sparkle--a {
	width: 22px;
	left: -8px;
	top: 6px;
}

.sparkle--b {
	width: 16px;
	right: 0;
	bottom: 4px;
}

@media (max-width: 900px) {
	.hero__grid {
		grid-template-columns: 1fr;
	}

	.hero__visual {
		max-width: 480px;
		margin: 0 auto;
		width: 100%;
	}

	.burst {
		right: -8px;
		top: 4px;
		width: 180px;
		height: 108px;
	}

	.burst__num {
		font-size: 36px;
	}

	.burst__label {
		font-size: 9px;
	}
}

/* ---------- Scrolling strip ---------- */

.strip {
	overflow: hidden;
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.strip__track {
	display: flex;
	width: max-content;
	animation: marquee 32s linear infinite;
}

.strip__track span {
	display: inline-flex;
	align-items: center;
	gap: 40px;
	padding-right: 40px;
	font: 400 clamp(24px, 3vw, 34px)/1 var(--font-display);
	color: var(--muted);
	white-space: nowrap;
}

.strip__track span::after {
	content: "";
	width: 12px;
	height: 12px;
	background: var(--lime);
	clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

@keyframes marquee {
	to {
		transform: translateX(-50%);
	}
}

/* ---------- Cards ---------- */

.icon-badge {
	display: inline-grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: linear-gradient(145deg, rgba(182, 226, 29, 0.28), rgba(182, 226, 29, 0.08));
	border: 1px solid rgba(182, 226, 29, 0.35);
	color: var(--lime);
	margin-bottom: 20px;
}

.icon-badge--lg {
	width: 64px;
	height: 64px;
}

.service-card,
.feature,
.step,
.post-card,
.work-card {
	padding: 30px;
	transition: transform 0.3s, border-color 0.3s, background 0.3s;
}

.service-card:hover,
.feature:hover,
.post-card:hover,
.work-card:hover {
	transform: translateY(-6px);
	border-color: rgba(182, 226, 29, 0.4);
}

.service-card {
	display: flex;
	flex-direction: column;
}

.service-card p {
	color: var(--muted);
}

.service-card .link-arrow {
	margin-top: auto;
}

.service-card__num {
	position: absolute;
	top: 26px;
	right: 28px;
	font: 400 44px/1 var(--font-display);
	color: rgba(255, 255, 255, 0.12);
}

.service-card__title,
.feature__title,
.step__title {
	font-family: var(--font-body);
	font-size: 21px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.feature p,
.step p {
	color: var(--muted);
	margin: 0;
	font-size: 16px;
}

.checklist {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	display: grid;
	gap: 10px;
	font-size: 15px;
}

.checklist li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.checklist .icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 3px;
	padding: 2px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--on-lime);
	stroke-width: 3;
}

.checklist--lg {
	font-size: 17px;
	gap: 14px;
}

.steps {
	counter-reset: step;
}

.step__num {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 22px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--on-lime);
	font: 400 24px/1 var(--font-display);
}

/* ---------- Page hero ---------- */

.page-hero {
	padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 5vw, 64px);
}

.page-hero__title {
	font-family: var(--font-display);
	font-size: clamp(44px, 6.2vw, 80px);
	line-height: 1.02;
	max-width: 18ch;
}

.page-hero__lead {
	color: var(--muted);
	font-size: clamp(17px, 1.6vw, 20px);
	max-width: 58ch;
	margin-top: 18px;
}

.page-hero--post .page-hero__title {
	max-width: 24ch;
	font-size: clamp(38px, 5vw, 64px);
}

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

.service-list {
	display: grid;
	gap: 24px;
}

.service-row {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: clamp(28px, 5vw, 64px);
	padding: clamp(28px, 4vw, 52px);
	scroll-margin-top: 110px;
}

.service-row__title {
	font-family: var(--font-display);
	font-size: clamp(36px, 4vw, 52px);
}

.service-row__label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 20px;
}

.service-row__detail {
	padding-left: clamp(0px, 3vw, 40px);
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
	.service-row {
		grid-template-columns: 1fr;
	}

	.service-row__detail {
		padding-left: 0;
		border-left: 0;
	}
}

/* ---------- Stats ---------- */

.stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	padding: clamp(28px, 4vw, 48px);
	text-align: center;
}

.stat + .stat {
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat__num {
	display: block;
	font: 400 clamp(52px, 7vw, 84px)/1 var(--font-display);
	color: var(--lime);
}

.stat__label {
	color: var(--muted);
	font-size: 15px;
}

@media (max-width: 640px) {
	.stats {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.stat + .stat {
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		padding-top: 24px;
	}
}

/* ---------- Work + posts ---------- */

.work-card__art {
	position: relative;
	height: 170px;
	margin: -10px -10px 24px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background:
		radial-gradient(circle at 30% 30%, rgba(182, 226, 29, 0.55), transparent 55%),
		radial-gradient(circle at 80% 80%, rgba(31, 182, 166, 0.5), transparent 55%),
		var(--navy-800);
}

.work-card__art span {
	position: absolute;
	left: 16px;
	bottom: 16px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(11, 34, 56, 0.6);
	border: 1px solid var(--glass-border);
	font-size: 13px;
	font-weight: 600;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.work-card p {
	color: var(--muted);
	margin: 0;
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.post-card__media {
	display: block;
	margin: -30px -30px 24px;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.post-card:hover .post-card__media img {
	transform: scale(1.05);
}

.post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.post-card__meta {
	color: var(--lime);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.post-card__title {
	font-family: var(--font-body);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.3;
}

.post-card__title a {
	color: var(--text);
}

.post-card__title a:hover {
	color: var(--lime);
}

.post-card__excerpt {
	color: var(--muted);
	font-size: 16px;
}

.post-card .link-arrow {
	margin-top: auto;
}

.admin-hint {
	margin-top: 24px;
	padding: 14px 18px;
	border: 1px dashed rgba(182, 226, 29, 0.5);
	border-radius: var(--radius-sm);
	color: var(--muted);
	font-size: 15px;
}

.pagination {
	margin-top: 40px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination .page-numbers {
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid var(--glass-border);
	color: var(--text);
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	background: var(--lime);
	border-color: var(--lime);
	color: var(--on-lime);
}

.post-cover {
	margin: 0 0 40px;
	padding: 10px;
	overflow: hidden;
}

.post-cover img {
	width: 100%;
	border-radius: var(--radius-sm);
}

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin: 32px auto 0;
	max-width: 780px;
}

.post-nav__next {
	margin-left: auto;
	text-align: right;
}

/* ---------- Prose (editor content) ---------- */

.prose {
	max-width: 780px;
}

.prose--panel {
	margin: 0 auto;
	padding: clamp(24px, 5vw, 56px);
}

.prose h2,
.prose h3 {
	font-family: var(--font-display);
	margin-top: 1.4em;
}

.prose h2 {
	font-size: clamp(30px, 3.4vw, 40px);
}

.prose h3 {
	font-size: clamp(24px, 2.6vw, 30px);
}

.prose > :first-child {
	margin-top: 0;
}

.prose a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose img {
	border-radius: var(--radius-sm);
}

.prose blockquote {
	margin: 1.5em 0;
	padding: 4px 0 4px 24px;
	border-left: 3px solid var(--lime);
	font: italic 400 24px/1.4 var(--font-display);
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

.prose li::marker {
	color: var(--lime);
}

.prose code {
	padding: 2px 6px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 0.9em;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
}

.prose th,
.prose td {
	padding: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	text-align: left;
}

.alignwide {
	max-width: 1100px;
}

.alignfull {
	max-width: none;
}

.wp-block-button__link {
	border-radius: 999px;
	background: var(--lime);
	color: var(--on-lime) !important;
	text-decoration: none !important;
	font-weight: 600;
}

.wp-caption-text,
figcaption {
	color: var(--muted);
	font-size: 14px;
	text-align: center;
}

/* ---------- Locations ---------- */

.location {
	padding: 14px;
	overflow: hidden;
	transition: transform 0.3s, border-color 0.3s;
}

.location:hover {
	transform: translateY(-6px);
	border-color: rgba(182, 226, 29, 0.4);
}

.location__flag {
	position: relative;
	aspect-ratio: 3 / 2;
	border-radius: var(--radius-sm);
	overflow: hidden;
	box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.7);
}

.location__flag .flag {
	width: 100%;
	height: 100%;
}

/* Glass sheen across the flag. */
.location__flag::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.05) 38%, transparent 55%, rgba(11, 34, 56, 0.25) 100%);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: inherit;
}

.location__body {
	padding: 22px 12px 10px;
}

.location__city {
	font-family: var(--font-display);
	font-size: clamp(34px, 3.4vw, 44px);
	line-height: 1;
	margin-bottom: 10px;
}

.location__country {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--muted);
	margin-bottom: 18px;
}

.location__country .icon {
	width: 18px;
	height: 18px;
	color: var(--lime);
}

.location__time {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--glass-border);
	font-size: 14px;
}

.location__time time {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.location__time span:last-child {
	color: var(--muted);
}

.location__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lime);
	box-shadow: 0 0 0 4px rgba(182, 226, 29, 0.18);
}

.location__time time:empty + span {
	display: none;
}

.location__time:has(time:empty) {
	display: none;
}

.info-card.info-card--offices {
	display: block;
}

.office-list {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.office-list li {
	display: flex;
	align-items: center;
	gap: 12px;
}

.office-list__flag {
	flex-shrink: 0;
	width: 36px;
	height: 24px;
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.office-list__flag .flag {
	width: 100%;
	height: 100%;
}

.office-list__name {
	flex: 1;
}

.office-list time {
	color: var(--muted);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

/* ---------- CTA ---------- */

.cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: clamp(32px, 5vw, 64px);
	overflow: hidden;
}

.cta::before {
	content: "";
	position: absolute;
	width: 380px;
	height: 380px;
	right: -80px;
	top: -160px;
	border-radius: 50%;
	background: var(--lime);
	filter: blur(100px);
	opacity: 0.22;
	pointer-events: none;
}

.cta__title {
	font-family: var(--font-display);
	font-size: clamp(40px, 5vw, 64px);
}

.cta__text {
	color: var(--muted);
	font-size: 18px;
	max-width: 52ch;
	margin: 0;
}

@media (max-width: 800px) {
	.cta {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ---------- Contact ---------- */

.contact {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 24px;
	align-items: start;
}

.contact__form {
	padding: clamp(24px, 4vw, 44px);
	scroll-margin-top: 110px;
}

.contact__info {
	display: grid;
	gap: 16px;
}

.info-card {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 22px;
}

.info-card .icon-badge {
	margin: 0;
	flex-shrink: 0;
}

.info-card__title {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 4px;
}

.info-card a,
.info-card p {
	color: var(--text);
	margin: 0;
	word-break: break-word;
}

.info-card a:hover {
	color: var(--lime);
}

.contact__hours {
	color: var(--muted);
	font-size: 15px;
	padding-left: 6px;
}

@media (max-width: 900px) {
	.contact {
		grid-template-columns: 1fr;
	}
}

.contact-form {
	display: grid;
	gap: 18px;
}

.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

@media (max-width: 600px) {
	.field-row {
		grid-template-columns: 1fr;
	}
}

.field label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--muted);
}

.field--hp {
	position: absolute;
	left: -9999px;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.search-form input {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius-sm);
	background: rgba(6, 23, 42, 0.45);
	color: var(--text);
	font: inherit;
	font-size: 16px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--lime) 50%), linear-gradient(135deg, var(--lime) 50%, transparent 50%);
	background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%;
	background-size: 6px 6px;
	background-repeat: no-repeat;
}

.contact-form select option {
	background: var(--navy-900);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.search-form input:focus {
	outline: none;
	border-color: var(--lime);
	box-shadow: 0 0 0 4px rgba(182, 226, 29, 0.18);
}

.contact-form textarea {
	resize: vertical;
	min-height: 140px;
}

.contact-form .btn {
	justify-self: start;
}

.notice {
	margin-bottom: 20px;
	padding: 14px 18px;
	border-radius: var(--radius-sm);
	font-size: 15px;
}

.notice--success {
	background: rgba(182, 226, 29, 0.14);
	border: 1px solid rgba(182, 226, 29, 0.5);
}

.notice--error {
	background: rgba(255, 99, 99, 0.12);
	border: 1px solid rgba(255, 99, 99, 0.45);
}

.search-form {
	display: flex;
	gap: 10px;
	max-width: 480px;
	margin: 20px auto 0;
}

/* ---------- Empty / 404 ---------- */

.empty {
	max-width: 640px;
	margin: 0 auto;
	padding: clamp(32px, 6vw, 64px);
	text-align: center;
}

.empty p {
	color: var(--muted);
}

.notfound__code {
	font: 400 clamp(90px, 16vw, 160px)/1 var(--font-display);
	color: var(--lime);
	margin: 0;
}

/* ---------- Comments ---------- */

.comments-area {
	margin-top: 48px;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment-body {
	padding: 18px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius-sm);
	background: rgba(6, 23, 42, 0.45);
	color: var(--text);
	font: inherit;
}

.comment-form .submit {
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--lime);
	color: var(--on-lime);
	font-weight: 600;
	cursor: pointer;
}

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

.site-footer {
	padding: calc(var(--section) / 2) 0 28px;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
	gap: 36px;
	padding: clamp(28px, 4vw, 48px);
}

.site-footer__about p {
	color: var(--muted);
	font-size: 15px;
	margin: 18px 0;
	max-width: 36ch;
}

.site-footer__heading {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lime);
	margin-bottom: 18px;
}

.site-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	font-size: 15px;
}

.site-footer__links a {
	color: var(--muted);
}

.site-footer__links a:hover {
	color: var(--text);
}

.site-footer__contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: var(--muted);
}

.site-footer__contact .icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 3px;
	color: var(--lime);
}

.site-footer__contact a {
	word-break: break-word;
}

.socials {
	display: flex;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.socials a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--glass-border);
	background: rgba(255, 255, 255, 0.05);
	color: var(--text);
}

.socials a:hover {
	background: var(--lime);
	border-color: var(--lime);
	color: var(--on-lime);
}

.socials .icon {
	width: 18px;
	height: 18px;
}

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 24px 6px 0;
	color: var(--muted);
	font-size: 14px;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__bottom a {
	color: var(--muted);
}

@media (max-width: 900px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__about {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
	}
}

.whatsapp-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 60;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--on-lime);
	box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6);
	transition: transform 0.2s;
}

.whatsapp-float:hover {
	color: var(--on-lime);
	transform: scale(1.08);
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.3s, background 0.3s;
	transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}
}
