/* =========================
   THEME
   Commercial active
   ========================= */

:root {
	--color-primary: #e21e23;
	--color-primary-dark: #c91010;
	--color-primary-soft: #fbe9ea;
	--color-primary-hover: #b80e12;
	--color-primary-border: #efb5b7;

	--color-primary-domestic: #005ad2;
	--color-primary-domestic-dark: #0047a8;
	--color-primary-domestic-soft: #eaf2ff;
	--color-primary-domestic-hover: #003b8a;
	--color-primary-domestic-border: #b7d0f5;

	--color-text: #2f2f2f;
	--color-text-soft: #5f5f5f;
	--color-border: #e7e7e7;
	--color-bg: #f7f7f8;
	--color-surface: #ffffff;
	--color-surface-soft: #fcfcfc;

	--site-width: 1180px;
	--content-gap: 2.25rem;
	--section-gap: 2rem;
	--radius: 12px;
	--shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.06);
	--shadow-card: 0 10px 24px rgba(0, 0, 0, 0.05);
}

/* =========================
   RESET / BASE
   ========================= */

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

html {
	scroll-behavior: smooth;
}

body.bodystyle {
	font-family:
		system-ui,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		Oxygen,
		Ubuntu,
		Cantarell,
		"Open Sans",
		"Helvetica Neue",
		sans-serif;
	margin: 0;
	color: var(--color-text);
	background: linear-gradient(to bottom, #ffffff 0%, var(--color-bg) 100%);
	line-height: 1.6;
	overflow-x: hidden;
}

a {
	word-break: break-word;
}

/* =========================
   TOP BAR
   ========================= */

.topbar {
	max-width: var(--site-width);
	margin: 1rem auto 0 auto;
	padding: 1rem 1.25rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	border: 1px solid var(--color-border);
	border-bottom: 3px solid var(--color-primary);
	border-radius: 14px 14px 0 0;
	background-color: rgba(255, 255, 255, 0.96);
	box-shadow: var(--shadow-soft);
}

.logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	flex-shrink: 0;
}

.logo {
	max-height: 72px;
	width: auto;
}

.topnav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.45rem 1rem;
	flex: 1;
	min-width: 0;
}

.topnav a {
	color: var(--color-text);
	text-decoration: none;
	font-weight: 500;
	padding: 0.4rem 0.2rem;
	border-bottom: 2px solid transparent;
	transition:
		color 0.25s ease,
		border-color 0.25s ease,
		transform 0.2s ease;
}

.topnav a:hover {
	color: var(--color-primary);
	border-bottom-color: var(--color-primary);
	transform: translateY(-1px);
}

.topnav a.active {
	color: var(--color-primary);
	border-bottom-color: var(--color-primary);
}

.transferbutton {
	background: linear-gradient(to bottom, var(--color-primary-domestic), var(--color-primary-domestic-dark)) !important;
	font-size: small;
	font-style: italic;
}

.contactbuttontop,
.contactbutton {
	background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-dark));
	color: #ffffff;
	padding: 0.8rem 1.2rem;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	border-radius: 8px;
	font-weight: 600;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
	transition:
		box-shadow 0.25s ease,
		filter 0.25s ease;
	white-space: nowrap;
	flex-shrink: 0;
}

.contactbuttontop:hover,
.contactbutton:hover {
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
	filter: brightness(1.03);
}

/* =========================
   GENERAL LAYOUT
   ========================= */

.section {
	max-width: var(--site-width);
	margin: 0 auto;
	padding: 2rem 1.25rem 2.5rem 1.25rem;
	width: 100%;
}

.intro-section {
	display: flex;
	flex-direction: column;
	gap: var(--section-gap);
	background-color: var(--color-surface);
	border: 1px solid var(--color-border);
	border-top: none;
	border-radius: 0 0 14px 14px;
	box-shadow: var(--shadow-soft);
}

/* =========================
   HOMEPAGE CONTENT ROWS
   ========================= */

.homepagecontainerleft,
.homepagecontainerright {
	display: grid;
	align-items: center;
	gap: var(--content-gap);
	padding: 1.4rem;
	margin: 0;
	width: 100%;
	max-width: 100%;
	border-radius: 12px;
	background: linear-gradient(to bottom, var(--color-surface) 0%, var(--color-surface-soft) 100%);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-card);
	overflow: hidden;
}

.homepagecontainerleft {
	grid-template-columns: minmax(0, 42%) minmax(0, 58%);
}

.homepagecontainerright {
	grid-template-columns: minmax(0, 58%) minmax(0, 42%);
}

.content-block {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
	min-width: 0;
}

.content-block p {
	margin: 0;
	color: var(--color-text-soft);
	font-size: 1.05rem;
}

.image-wrap {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	border: 1px solid var(--color-primary-border);
}

.photo {
	width: 100%;
	display: block;
}

/* =========================
   TEXT STYLES
   ========================= */

.mainfont {
	color: var(--color-text-soft);
	font-weight: 500;
}

.extrafont {
	color: #8a8a8a;
	font-weight: 300;
}

.sectiontitle {
	margin: 0 0 1.5rem 0;
	color: var(--color-primary-dark);
	font-weight: 700;
	font-size: clamp(2rem, 4vw, 2.6rem);
	text-align: center;
	position: relative;
}

.sectiontitle::after {
	content: "";
	display: block;
	width: 72px;
	height: 3px;
	background-color: var(--color-primary);
	margin: 0.7rem auto 0 auto;
	border-radius: 999px;
}

.sectionsubtitle {
	margin: 1.5rem 0 1rem 0;
	color: var(--color-primary-dark);
	font-weight: 600;
	font-size: clamp(1.35rem, 3vw, 1.8rem);
	text-align: center;
}

.titleblock {
	margin-bottom: 2rem;
	display: flex;
	align-items: center;
}

/* =========================
   CONTACT SECTION
   ========================= */

.contact-section {
	padding-top: 2.5rem;
	padding-bottom: 3rem;
}

.contact-card {
	background: linear-gradient(to bottom, #ffffff 0%, var(--color-surface-soft) 100%);
	border: 1px solid var(--color-border);
	border-top: 4px solid var(--color-primary);
	border-radius: var(--radius);
	padding: 2rem;
	box-shadow: var(--shadow-card);
}

.contact-address {
	text-align: center;
	font-size: 1.1rem;
	line-height: 1.9;
	margin: 0 0 1rem 0;
}

.contact-phone {
	text-align: center;
	font-size: 1.2rem;
	font-weight: 600;
	margin: 0 0 1.5rem 0;
}

.contact-phone a,
.contact-item a {
	color: var(--color-primary-dark);
	text-decoration: none;
}

.contact-phone a:hover,
.contact-item a:hover {
	text-decoration: underline;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(220px, 1fr));
	gap: 1.5rem;
	margin-top: 1rem;
}

.contact-item {
	text-align: center;
	padding: 1.1rem;
	border-radius: 10px;
	background-color: #ffffff;
	border: 1px solid var(--color-border);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.contact-item p {
	margin: 0 0 0.5rem 0;
	color: var(--color-text-soft);
	font-size: 1rem;
}

/* =========================
   LEGACY / EXISTING CLASSES
   ========================= */

.red {
	background-color: var(--color-primary);
	color: #f2f2f2;
	text-align: center;
	font-weight: 600;
	font-size: 2.2rem;
	padding: 1vw;
}

.divider {
	border-top: 4px solid var(--color-primary-dark);
	border-bottom: 4px solid var(--color-primary-dark);
	margin-bottom: 2em;
}

.right {
	text-align: right;
	margin-left: 22.5%;
}

.left {
	text-align: left;
	margin-right: 22.5%;
}

.logocontainer {
	margin: 1.2em 0;
	display: block;
	height: min(24.6vw, 6.57em);
}

.serviceimage {
	height: 5rem;
	margin-left: auto;
	margin-right: 2rem;
}

.service {
	height: 4em;
	display: flex;
}

.servicetitle {
	text-align: center;
	width: 100%;
	display: inline-block;
	color: var(--color-primary);
	font-size: 1.8rem;
	font-weight: 500;
	align-content: center;
}

.servicelogo {
	height: 100%;
	display: inline-block;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 950px) {
	.topbar {
		flex-direction: column;
		align-items: center;
		text-align: center;
		border-radius: 0;
		margin-top: 0;
	}

	.topnav {
		justify-content: center;
	}

	.contactbuttontop {
		margin-top: 0.5rem;
	}

	.intro-section {
		border-radius: 0;
	}

	.homepagecontainerleft,
	.homepagecontainerright {
		grid-template-columns: 1fr;
		padding: 1rem;
	}

	.homepagecontainerright .image-wrap {
		order: -1;
	}
}

@media (max-width: 640px) {
	.section {
		padding: 1.5rem 1rem 2rem 1rem;
	}

	.logo {
		max-height: 60px;
	}

	.content-block p {
		font-size: 1rem;
	}

	.contact-card {
		padding: 1.25rem;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}
} /* =========================
   SERVICE PAGE
   ========================= */

.service-main {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	background-color: var(--color-surface);
	border: 1px solid var(--color-border);
	border-top: none;
	border-radius: 0 0 14px 14px;
	box-shadow: var(--shadow-soft);
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.service-hero {
	padding: 0;
}

.service-titleblock {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	padding: 1.75rem;
	background: linear-gradient(to bottom, #ffffff 0%, var(--color-surface-soft) 100%);
	border: 1px solid var(--color-border);
	border-top: 4px solid var(--color-primary);
	border-radius: 14px;
	box-shadow: var(--shadow-card);
	margin-bottom: 0;
}

.service-icon-wrap {
	width: 110px;
	height: 110px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-primary-soft);
	border: 1px solid var(--color-primary-border);
	border-radius: 16px;
	box-shadow: var(--shadow-soft);
}

.serviceimage {
	width: 62px;
	height: 62px;
	margin: 0;
}

.service-page-title {
	margin: 0;
	text-align: left;
}

.service-page-title::after {
	margin-left: 0;
	margin-right: 0;
}

.service-page-subtitle {
	margin: 0.5rem 0 0 0;
	text-align: left;
	font-style: normal;
	color: var(--color-text-soft);
}

.service-card {
	background: linear-gradient(to bottom, #ffffff 0%, var(--color-surface-soft) 100%);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	box-shadow: var(--shadow-card);
	padding: 1.75rem 1.25rem;
}

.service-copy {
	max-width: 900px;
	margin: 0 auto;
}

.servicetitle {
	text-align: center;
	width: 100%;
	display: block;
	color: var(--color-primary-dark);
	font-size: clamp(1.5rem, 3vw, 1.9rem);
	font-weight: 650;
	margin: 0 0 1.25rem 0;
	line-height: 1.3;
}

.service-copy p {
	margin: 0 0 1rem 0;
	color: var(--color-text-soft);
	font-size: 1.05rem;
}

.service-copy p:last-child {
	margin-bottom: 0;
}

.service-cta-card {
	text-align: center;
}

.cta-text {
	font-size: 1.08rem;
	margin-bottom: 1.5rem !important;
}

.service-cta .contactbutton {
	margin: 0 auto;
}

/* =========================
   SERVICE PAGE RESPONSIVE
   ========================= */

@media (max-width: 700px) {
	.service-main {
		border-radius: 0;
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
	}

	.service-titleblock {
		flex-direction: column;
		justify-content: center;
		padding: 1.25rem;
	}

	.service-page-title,
	.service-page-subtitle {
		text-align: center;
	}

	.service-page-title::after {
		margin-left: auto;
		margin-right: auto;
	}

	.service-icon-wrap {
		width: 90px;
		height: 90px;
	}

	.serviceimage {
		width: 52px;
		height: 52px;
	}

	.service-card {
		padding: 1.25rem 1rem;
	}
}

/* =========================
   CONTACT PAGE
   ========================= */

.contact-main {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	background-color: var(--color-surface);
	border: 1px solid var(--color-border);
	border-top: none;
	border-radius: 0 0 14px 14px;
	box-shadow: var(--shadow-soft);
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.contact-page-hero {
	padding: 0;
}

.contact-layout {
	display: grid;
	grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.25fr);
	gap: 1.5rem;
	align-items: start;
}

.contact-info-card,
.contact-form-card {
	background: linear-gradient(to bottom, #ffffff 0%, var(--color-surface-soft) 100%);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	box-shadow: var(--shadow-card);
	padding: 1.75rem 1.25rem;
}

.contact-panel-title {
	margin-bottom: 1.25rem;
}

.contact-form-intro,
.contact-info-block p,
.contact-detail-item p {
	color: var(--color-text-soft);
	font-size: 1.02rem;
}

.contact-info-block {
	margin-bottom: 1.5rem;
}

.contact-info-block p {
	margin: 0 0 1rem 0;
}

.contact-info-block p:last-child {
	margin-bottom: 0;
}

.contact-details-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.contact-detail-item {
	background-color: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	padding: 1rem;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.contact-detail-item h3 {
	margin: 0 0 0.4rem 0;
	font-size: 1rem;
	color: var(--color-primary-dark);
}

.contact-detail-item p {
	margin: 0;
	line-height: 1.7;
}

.contact-detail-item a {
	color: var(--color-primary-dark);
	text-decoration: none;
}

.contact-detail-item a:hover {
	text-decoration: underline;
}

/* =========================
   FORM
   ========================= */

.contact-form {
	margin-top: 1rem;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.form-field {
	display: flex;
	flex-direction: column;
	margin-bottom: 1rem;
}

.form-field label {
	margin-bottom: 0.45rem;
	font-weight: 600;
	color: var(--color-text);
	font-size: 0.98rem;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	font: inherit;
	color: var(--color-text);
	background-color: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	padding: 0.85rem 0.95rem;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: #9a9a9a;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px var(--color-primary-soft);
	background-color: #ffffff;
}

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

.form-actions {
	margin-top: 0.5rem;
}

.form-submit {
	border: none;
	cursor: pointer;
	font: inherit;
}

.form-submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

/* =========================
   MESSAGES
   ========================= */

.message-box {
	display: none;
	padding: 0.95rem 1rem;
	margin-bottom: 1rem;
	border-radius: 10px;
	font-weight: 600;
	font-family: inherit;
	border: 1px solid transparent;
}

#error-message {
	background: #fff1f2;
	color: #b91c1c;
	border-color: #fecaca;
}

#success-message {
	background: #ecfdf3;
	color: #166534;
	border-color: #bbf7d0;
}

.hp {
	opacity: 0;
	position: absolute;
	z-index: -1;
	height: 0;
	width: 0;
	overflow: hidden;
}

/* =========================
   CONTACT PAGE RESPONSIVE
   ========================= */

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

@media (max-width: 700px) {
	.contact-main {
		border-radius: 0;
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
	}

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

	.contact-info-card,
	.contact-form-card {
		padding: 1.25rem 1rem;
	}
}
