@charset "utf-8";

:root {
	--burgundy: #75092e;
	--burgundy-dark: #500016;
	--green: #9cd133;
	--text: #343434;
	--muted: #666666;
	--border: #d7d7d7;
	--panel: #ffffff;
	--shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
	--radius: 18px;
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
}

body {
	background: #ffffff url("../img/body_bg.png") left 328px repeat-x;
	color: var(--text);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	margin: 0;
	min-height: 100%;
}

body.modal-open {
	overflow: hidden;
}

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

a {
	color: var(--burgundy);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid rgba(117, 9, 46, 0.35);
	outline-offset: 3px;
}

.site-shell {
	min-height: 100vh;
}

.site-header {
	background: url("../img/header_bg.jpg") top center repeat-x;
	padding: 38px 16px 0;
}

.page-wrap {
	margin: 0 auto;
	max-width: 944px;
	width: 100%;
}

.hero-card {
	background: var(--panel);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	position: relative;
}

.hero-card::before {
	background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.12), transparent);
	content: "";
	display: block;
	height: 9px;
}

.hero-intro {
	padding: 24px 24px 16px;
	text-align: center;
}

.eyebrow {
	color: var(--text);
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	font-size: clamp(1.65rem, 4vw, 2rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 14px;
}

.main-logo {
	display: inline-block;
	margin: 0 auto;
}

.main-logo img {
	margin: 0 auto;
	max-height: 120px;
	width: auto;
}

.hero-contact {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-weight: 700;
	gap: 6px 18px;
	justify-content: center;
	margin: 18px auto 0;
	max-width: 900px;
}

.hero-contact span {
	position: relative;
}

.hero-contact span + span::before {
	color: #9a9a9a;
	content: "|";
	font-weight: 400;
	left: -11px;
	position: absolute;
}

.building-photo {
	background: url("../img/building.jpg") center center / cover no-repeat;
	min-height: 300px;
	width: 100%;
}

.service-nav {
	border-top: 1px solid var(--border);
	margin: 0 21px;
	padding: 22px 0 28px;
}

.service-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	justify-content: center;
	list-style: none;
	margin: 0 auto;
	max-width: 780px;
	padding: 0;
}

.service-card {
	align-items: center;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(236, 236, 236, 0.95));
	border: 1px solid #cfcfcf;
	border-radius: 14px;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
	color: #333333;
	display: grid;
	gap: 10px;
	grid-template-rows: minmax(34px, auto) 1fr minmax(32px, auto);
	min-height: 190px;
	padding: 16px 14px;
	text-align: center;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.service-card:hover {
	border-color: rgba(117, 9, 46, 0.35);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
	text-decoration: none;
	transform: translateY(-3px);
}

.service-title,
.service-translation {
	color: #333333;
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.15;
}

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

.service-logo {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: 82px;
}

.service-logo img {
	max-height: 88px;
	object-fit: contain;
	width: auto;
}

.site-footer {
	background: var(--burgundy-dark);
	color: #ffffff;
	padding: 0 16px 46px;
	text-align: center;
}

.footer-accent {
	background: var(--green);
	height: 15px;
	margin: 0 auto 18px;
	max-width: 923px;
	width: 100%;
}

.site-footer p {
	margin: 0;
}

/* Modal
---------------------------------------- */
.modal-overlay {
	background: rgba(0, 0, 0, 0.58);
	inset: 0;
	position: fixed;
	z-index: 900;
}

.modal {
	inset: 0;
	overflow-y: auto;
	padding: 24px;
	position: fixed;
	z-index: 901;
}

.modal-panel {
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	margin: 0 auto;
	max-width: 860px;
	padding: clamp(24px, 4vw, 42px);
	position: relative;
}

.modal-close {
	align-items: center;
	background: var(--burgundy);
	border: 0;
	border-radius: 999px;
	color: #ffffff;
	cursor: pointer;
	display: flex;
	font-size: 1.8rem;
	height: 42px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: 18px;
	top: 18px;
	width: 42px;
}

.modal-close:hover {
	background: var(--burgundy-dark);
}

.modal-logo {
	margin: 0 auto 18px;
	max-width: 360px;
}

.modal h1,
.modal h2 {
	color: #252525;
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	line-height: 1.15;
	margin: 0 0 12px;
}

.modal h1 {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	padding-right: 44px;
}

.modal h2 {
	font-size: 1.15rem;
	margin-top: 22px;
}

.modal p {
	margin: 0 0 14px;
}

.modal ul {
	margin: 8px 0 0;
	padding-left: 20px;
}

.modal li {
	margin: 5px 0;
}

.modal-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1.4fr 1fr;
	margin-top: 8px;
}

.modal-cta {
	background: #f7f7f7;
	border-left: 5px solid var(--burgundy);
	border-radius: 12px;
	margin-top: 28px;
	padding: 18px;
	text-align: center;
}

.modal-cta p {
	font-weight: 700;
	margin-bottom: 12px;
}

.modal-cta a:first-of-type {
	background: var(--burgundy);
	border-radius: 999px;
	color: #ffffff;
	display: inline-block;
	font-weight: 700;
	margin: 0 0 10px;
	padding: 11px 18px;
}

.modal-cta a:first-of-type:hover {
	background: var(--burgundy-dark);
	text-decoration: none;
}

.modal-cta span {
	display: block;
}

/* Responsive
---------------------------------------- */
@media (max-width: 980px) {
	.site-header {
		padding-top: 24px;
	}

	.hero-card {
		border-radius: 0 0 14px 14px;
	}

	.building-photo {
		min-height: 240px;
	}

	.hero-contact {
		flex-direction: column;
		gap: 4px;
	}

	.hero-contact span + span::before {
		content: none;
	}

	.service-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-width: 780px;
	}
}

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

@media (max-width: 620px) {
	body {
		background-position: left 240px;
		font-size: 14px;
	}

	.site-header {
		padding: 14px 10px 0;
	}

	.hero-intro {
		padding: 20px 14px 14px;
	}

	.eyebrow {
		font-size: clamp(1.35rem, 6vw, 1.65rem);
	}

	.main-logo img {
		max-height: 105px;
	}

	.building-photo {
		min-height: 155px;
	}

	.service-nav {
		margin: 0 14px;
		padding: 18px 0 22px;
	}

	.service-card {
		min-height: 150px;
	}

	.modal {
		padding: 12px;
	}

	.modal-panel {
		border-radius: 14px;
		padding: 24px 18px;
	}

	.modal h1 {
		padding-right: 38px;
	}

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

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