/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body, ul, ol, h1, h2, h3, h4, h5, h6, p, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; background: none; border: 0; cursor: pointer; }

/* Tokens */
:root {
	--color-bg: #ecddd1;
	--color-dark: #2d2c2c;
	--color-dark-alt: #272727;
	--color-heading: #272729;
	--color-text-muted: #3b3b3b;
	--color-text-strong: #1c1c1c;
	--color-accent-orange: #ff6a00;
	--color-accent-red: #fd4a26;
	--color-green: #1bb96b;
	--color-pink: #b91b5d;
	--color-nav-inactive: #e5e8ee;
	--color-nav-active: #ff5532;
	--gradient-cta: radial-gradient(circle, #ff0e0e 0%, #ff5532 100%);
	--font-heading: 'Montserrat', sans-serif;
	--font-display: 'Inter', sans-serif;
	--font-body: 'Open Sans', sans-serif;
}

body {
	font-family: var(--font-heading);
	color: var(--color-text-strong);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

.container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 80px;
	box-sizing: border-box;
}

@media (max-width: 1023px) {
	.container { padding: 0 16px; }
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 4px;
	padding: 8px 32px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
	border: none;
	cursor: pointer;
}

.btn--outline {
	background: transparent;
	color: #fff;
	border: 1px solid #fff;
}

.btn--gradient {
	background: var(--gradient-cta);
	color: #fff;
}

.btn--lg {
	padding: 12px 40px;
	font-size: 16px;
	font-weight: 800;
}

/* Site header */
.site-header {
	background: var(--color-dark);
	height: 72px;
	position: relative;
	z-index: 100;
}

.site-header__inner {
	display: flex;
	align-items: center;
	height: 100%;
}

.site-header__logo {
	display: block;
	line-height: 0;
}

.site-header__logo img {
	height: 17px;
	width: auto;
}

.site-nav {
	margin-left: 46px;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 32px;
}

.site-nav__item a {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--color-nav-inactive);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: color .2s ease;
}

.site-nav__item a:hover,
.site-nav__item a.current-ref {
	color: var(--color-nav-active);
}

.site-nav__icon {
	width: 20px;
	height: 20px;
	flex: none;
}

.site-header__actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 16px;
}

.menu-toggle-box { display: none; }

@media (max-width: 1023px) {
	.site-nav {
		display: none;
	}
.site-header__actions .btn{
	width: 100%;
}
	.site-header {
		height: auto;
	}

	.site-header__inner {
		flex-wrap: wrap;
		padding: 12px 15px;
	}

	.site-header__logo { order: 1; }
	.menu-toggle-box { order: 2; }

	.site-header__actions {
		order: 3;
		flex-basis: 100%;
		margin-left: 0;
		margin-top: 12px;
	}

	.menu-toggle-box {
		display: block;
		margin-left: auto;
	}

	.menu-toggle {
		display: block;
		width: 24px;
		height: 18px;
		position: relative;
	}

	.menu-toggle small,
	.menu-toggle::before,
	.menu-toggle::after {
		content: '';
		display: block;
		position: absolute;
		left: 0;
		width: 100%;
		height: 2px;
		background: #fff;
	}

	.menu-toggle::before { top: 0; }
	.menu-toggle small { top: 8px; }
	.menu-toggle::after { top: 16px; }

	.site-header nav.is-active {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		background: var(--color-dark);
		padding: 24px;
	}

	.site-header nav.is-active .site-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
}

/* Site footer */
.site-footer {
	background: var(--color-dark);
	color: #fff;
	padding: 32px 0;
	margin-top: 30px;
}

.site-footer__logo {
	display: inline-block;
	line-height: 0;
	margin-bottom: 24px;
}

.site-footer__caption {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .5);
	font-family: var(--font-body);
	font-size: 13px;
	text-align: center;
}

.site-footer__logo img {
	height: 24px;
	width: auto;
}

.site-footer__inner {
	display: flex;

	flex-wrap: wrap;
	gap: 64px 120px;
}

.site-footer__title {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 24px;
}

.site-footer__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.site-footer__list a {
	font-family: var(--font-body);
	font-size: 14px;
	color: rgba(255, 255, 255, .6);
	text-decoration: none;
	transition: color .2s ease;
}

.site-footer__list a:hover {
	color: #fff;
}

.site-footer__list--social a {
	display: flex;
	align-items: center;
	gap: 8px;
}

.site-footer__social-icon {
	display: inline-flex;
	width: 20px;
	height: 20px;
}

.site-footer__social-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Rich text — ACF WYSIWYG / SEO text blocks. Covers every tag TinyMCE's "full" toolbar can produce. */
.rich-text {
	font-family: var(--font-heading);
	font-size: 16px;
	line-height: 1.7;
	color: var(--color-text-muted);
}

.seo-section { padding: 40px 0; }

.seo-text {
	background: #fff;
	border-radius: 8px;
	padding: 32px 40px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

@media (max-width: 640px) {
	.seo-text { padding: 16px; }
}

.rich-text > *:first-child { margin-top: 0; }
.rich-text > *:last-child { margin-bottom: 0; }

.rich-text h1,
.rich-text h2,
.rich-text h3,
.rich-text h4,
.rich-text h5,
.rich-text h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-heading);
	margin: 1.4em 0 .6em;
}

.rich-text h1 { font-size: 32px; }
.rich-text h2 { font-size: 26px; }
.rich-text h3 { font-size: 21px; }
.rich-text h4 { font-size: 18px; }
.rich-text h5 { font-size: 16px; }
.rich-text h6 { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }

.rich-text p { margin: 0 0 1.2em; }

.rich-text a {
	color: var(--color-accent-red);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rich-text a:hover { color: var(--color-green); }

.rich-text strong, .rich-text b { font-weight: 700; color: var(--color-heading); }
.rich-text em, .rich-text i { font-style: italic; }

.rich-text ul,
.rich-text ol {
	margin: 0 0 1.2em;
	padding-left: 1.4em;
}

.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text li { margin-bottom: .5em; }
.rich-text li > ul,
.rich-text li > ol { margin-top: .5em; margin-bottom: 0; }

.rich-text blockquote {
	margin: 1.6em 0;
	padding: 16px 24px;
	border-left: 3px solid var(--color-green);
	background: rgba(0, 0, 0, .04);
	font-style: italic;
	color: var(--color-heading);
}

.rich-text blockquote p:last-child { margin-bottom: 0; }

.rich-text img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 1.2em 0;
}

.rich-text figure { margin: 1.2em 0; }
.rich-text figcaption {
	font-size: 13px;
	color: var(--color-text-muted);
	text-align: center;
	margin-top: .5em;
}

.rich-text hr {
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, .12);
	margin: 2em 0;
}

.table-scroll {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.6em 0;
	border-radius: 8px;
}

.rich-text table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.table-scroll table { margin: 0; }

.rich-text th,
.rich-text td {
	padding: 10px 16px;
	border: 1px solid rgba(0, 0, 0, .12);
	text-align: left;
	vertical-align: top;
	min-width: 120px;
}

.rich-text thead th {
	background: var(--color-dark);
	color: #fff;
	font-weight: 600;
}

.rich-text tbody tr:nth-child(even) { background: rgba(0, 0, 0, .03); }

.rich-text code {
	font-family: 'SFMono-Regular', Consolas, monospace;
	font-size: .9em;
	background: rgba(0, 0, 0, .06);
	padding: 2px 6px;
	border-radius: 4px;
}

.rich-text pre {
	background: var(--color-dark);
	color: #fff;
	padding: 16px 20px;
	border-radius: 8px;
	overflow-x: auto;
	margin: 1.2em 0;
}

.rich-text pre code { background: none; padding: 0; color: inherit; }

/* Modifier: use inside dark cards (hero / promo blocks) */
.rich-text--on-dark { color: rgba(255, 255, 255, .85); }
.rich-text--on-dark h1, .rich-text--on-dark h2, .rich-text--on-dark h3,
.rich-text--on-dark h4, .rich-text--on-dark h5, .rich-text--on-dark h6,
.rich-text--on-dark strong, .rich-text--on-dark b { color: #fff; }
.rich-text--on-dark a { color: var(--color-accent-orange); }
.rich-text--on-dark a:hover { color: #fff; }
.rich-text--on-dark blockquote { background: rgba(255, 255, 255, .08); color: #fff; }
.rich-text--on-dark hr { border-top-color: rgba(255, 255, 255, .2); }
.rich-text--on-dark th, .rich-text--on-dark td { border-color: rgba(255, 255, 255, .2); }
.rich-text--on-dark thead th { background: rgba(255, 255, 255, .12); }
.rich-text--on-dark tbody tr:nth-child(even) { background: rgba(255, 255, 255, .05); }
.rich-text--on-dark code { background: rgba(255, 255, 255, .12); }
