:root{
	--light-gray: #F1F1F1;
	--white: #fff;
	--black: #000;
	--step--2: clamp(0.61rem, calc(0.6rem + 0.05vw), 0.64rem);
    --step--1: clamp(0.73rem, calc(0.71rem + 0.11vw), 0.8rem);
    --step-0: clamp(0.88rem, calc(0.84rem + 0.2vw), 1rem);
    --step-1: clamp(1.05rem, calc(0.99rem + 0.31vw), 1.25rem);
    --step-2: clamp(1.26rem, calc(1.17rem + 0.47vw), 1.56rem);
    --step-3: clamp(1.51rem, calc(1.37rem + 0.69vw), 1.95rem);
    --step-4: clamp(1.81rem, calc(1.62rem + 0.98vw), 2.44rem);
    --step-5: clamp(2.9rem, calc(3.5rem + 1.17vw), 5.625rem);

    --fz-h1: var(--step-5);
    --fz-h2: var(--step-4);
    --fz-h3: var(--step-3);
    --fz-h4: var(--step-2);
    --fz-h5: var(--step-1);
    --fz-small: var(--step--1);
}



@font-face {
	font-family: "DM Sans";
	src: url("assets/fonts/DMSans-VariableFont_opsz\,wght.ttf") format("truetype");
	font-weight: 100 900;
	font-style: normal;
}

@font-face {
	font-family: "Michroma";
	src: url("assets/fonts/Michroma-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
}

.icon-box p{
    font-family: Michroma;
}

body{
	margin: 0;
	font-family: "DM Sans";
	font-size: 16px;
}

.hero{
	background-image: url("assets/images/hero.webp");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 70vh;
}

.brand{
	display: flex;
	justify-content: space-between;
	padding: 40px 60px;
}

.hero-h1-wrapper{
	min-height: 40vh;
	display: flex;
	align-items: center;
}

.hero-department,
.hero-tel{
	color: var(--white);
	text-transform: uppercase;
	font-size: var(--step-1);
	margin-bottom: 0;
	margin-top: 5px;
	text-align: right;
}

.hero-tel{
	display: block;
	width: fit-content;
	margin-left: auto;
	text-align: right;
	text-decoration: none;
	position: relative;
}

.hero-tel::after,
a.footer-text::after{
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 2px;
	background-color: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.25s ease;
}

.hero-tel:hover::after,
a.footer-text:hover::after{
	transform: scaleX(1);
	transform-origin: left;
}

.logo{
	width: 300px;
	height: 100px;
	object-fit: cover;
	display: block;
}
img{
    display: block;
    max-width: 100%;
}
h1,
h2,
h3,
h4{
	font-family: "Michroma";
	font-weight: 400;
}

h1{
	color: var(--white);
	font-size: var(--fz-h1,90px);
	line-height: 1.15;
	text-align: center;
	width: 800px;
	margin: auto;
}

h2{
	font-size: 35px;
	line-height: 1.3;
	margin: 40px 0 5px 0;
}

h3{
	font-size: var(--fz-h3,25px);
	line-height: 1.4;
}

h4{
	font-size: var(--fz-h4,20px);
	line-height: 1.4;
}

main{
	text-align: center;
}

p{
	font-size: var(--step-1);
	line-height: 1.45;
}

.content-text{
	margin-bottom: 5px;
}

.content-text + .content-text{
	margin-top: 10px;
}

.content-box{
	border: 1px solid black;
	margin: 60px 75px;
	padding-bottom: 30px;
}

.content-box > h3{
	padding: 0 20px;
}

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

.icons-wrapper{
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
}

.icon-box{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	flex-direction: column;
	min-width: 200px;
	padding:10px;
}

/*.icon-box > h4{
	max-width: 180px;
}*/

.icon-box > img{
	max-height: 80px;
}
.wrapper{
    max-width: 1456px;
    margin-inline:auto;
    padding-inline: 2rem;
}

.banner{
	width: 100%;
	background-color: var(--light-gray);
	box-sizing: border-box;
	padding-block: 3rem;
}

.banner .wrapper{
	display: flex;
	text-align: left;
	flex-wrap: wrap-reverse;
	gap: 2rem;
}
.banner .wrapper > *{
    flex-basis: 48%;
    min-width: 280px;
    flex-grow: 1;
}

picture{text-align: center; }
picture img{
    margin-inline:auto;
}

.contact-links > div{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 30px;
}

footer{
	background-color: var(--black);
	padding: 30px 0;
	box-sizing: border-box;
	overflow: hidden;
}
footer .wrapper{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	text-align: left;

}

footer > img{
	width: 400px;
	object-fit: cover;
	height: 120px;
}

.contact-links,
.company-info{
	display: flex;
	flex-direction: column;
}

.footer-text{
	font-size: 23px;
	font-weight: 700;
	color: var(--white);
	margin: 0;
}

a.footer-text{
	display: block;
	width: fit-content;
	text-decoration: none;
	position: relative;
}

.footer-text-small{
	font-size: 18px;
	color: var(--white);
}

.company-info > p{
	margin: 5px 0;
}

.company-info > .footer-text{
	margin-bottom: 20px;
}

@media (max-width: 768px){
	.hero{
		min-height: 700px;
		background-position: center;
	}

	.brand{
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding: 24px 20px;
	}

	.logo{
		width: 220px;
		height: auto;
	}

	.hero-department,
	.hero-tel{
		font-size: 17px;
		line-height: 1.4;
	}

	.hero-tel,.hero-department{
		margin-left: 0;
		text-align: left;
	}

	h1{
		width: calc(100% - 40px);
		max-width: 600px;
		font-size: 48px;
		line-height: 1.2;
		overflow-wrap: break-word;
	}

	h2{
		font-size: 27px;
		line-height: 1.35;
		margin-top: 30px;
	}

	h3{
		font-size: 21px;
		line-height: 1.4;
	}

	h4{
		font-size: 17px;
	}

	p{
		font-size: 18px;
		line-height: 1.5;
	}

	main{
		display: flex;
		flex-direction: column;
	}

	.content-section{
		padding: 0 20px;
	}

	.content-box{
		margin-block: 2rem;
		padding: 10px 15px 25px;
	}

	.content-box > h3{
		padding: 0;
	}

	.icons-wrapper{
		flex-wrap: wrap;
		gap: 30px 10px;
		margin-top: 30px;
	}


	.icon-box > img{
		height: 60px;
	}

	.icon-box > h4{
		max-width: 150px;
		margin: 15px auto 0;
	}

	.banner{
		flex-direction: column;
		padding: 30px 20px;
	}

	.banner-content{
		width: 100%;
	}

	.banner-content > p,
	.banner-content > h3{
		margin-left: 0;
	}

	.banner > img{
		width: 280px;
		max-width: 80%;
		margin: 30px auto 10px;
	}

	footer{
		flex-direction: column;
		align-items: flex-start;
		gap: 25px;
		padding: 30px 20px;
	}

	footer > img{
		width: 250px;
		max-width: 100%;
		height: auto;
	}

	.contact-links,
	.company-info{
		width: 100%;
	}

	.footer-text{
		font-size: 19px;
		line-height: 1.45;
	}

	.footer-text-small{
		font-size: 15px;
		line-height: 1.5;
	}
}

@media (max-width: 480px){
    h1{
        font-size: 34px;
    }
	.hero{
		min-height: 600px;
	}

	.brand{
		padding: 20px 16px;
	}

	.content-section{
		padding: 0 16px;
	}

	.content-box{
		margin: 2rem auto;
		padding: 10px 12px 24px;
	}

	.icons-wrapper{
		gap: 25px 8px;
		flex-wrap: wrap;
	}

	.icon-box{
		width: calc(50% - 8px);
	}

	.icon-box > img{
		height: 52px;
	}

	.icon-box > h4{
		max-width: 135px;
	}

	.banner{
		padding: 25px 16px;
	}

	.banner > img{
		width: 230px;
	}

	.banner .wrapper{
	padding-inline: 0;
	}

	footer{
		padding: 25px 16px;
		gap: 20px;
	}

	footer > img{
		width: 220px;
	}


}

.reveal-enabled .reveal{
	opacity: 0;
	transform: translateY(35px);
	transition:
		opacity 0.7s ease,
		transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--reveal-delay, 0ms);
}

.reveal-enabled .reveal.is-visible{
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
	.reveal{
		opacity: 1;
		transform: none;
		transition: none;
	}
}

.brand{
	animation: hero-from-top 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero h1{
	animation: hero-from-bottom 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-from-top{
	from{
		transform: translateY(-40px);
	}

	to{
		transform: translateY(0);
	}
}

@keyframes hero-from-bottom{
	from{
		transform: translateY(40px);
	}

	to{
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce){
	.brand,
	.hero h1{
		animation: none;
	}
}
