/* =====================================================================================================================

                                         Normalize + HTML5BP defaults

===================================================================================================================== */
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}a{background-color:transparent}small{font-size:80%}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}details{display:block}summary{display:list-item}html{color:#222;font-size:1em;line-height:1.4}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}audio,canvas,iframe,img,svg,video{vertical-align:middle}

/* =====================================================================================================================

                                                  Custom styles

===================================================================================================================== */

html {
	scroll-behavior: smooth;
}

* {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6, th {
	margin: 0;
	font-family: 'Roboto', sans-serif;
}

.font-mono {
	font-family: 'Courier Prime', monospace;
}

p {
	font-size: 1.1rem;
	width: 100%;
	max-width: 60ch;
	line-height: 1.5;
}

h1, h2 { font-size: 1.5rem; }

h3 { font-size: 1.17rem; }

h4 { font-size: 1rem; }

h5 { font-size: 0.83rem; }

h6 { font-size: 0.75rem; }

.anchor {
	position: absolute;
	top: -75px;
}

#navigation > div,
.header > div,
#main-content > div,
#pricing > div,
#details-content > div,
#more-info-content > div,
#contact > div,
footer > div {
	position: relative;
	width: 100%;
	max-width: 1200px;
	padding: 0 2rem;
	margin: auto;
}

.pt-1 {
	padding-top: 1rem;
}

.simpleParallax {
	z-index: -1;
}

input {
	padding: .25rem;
	outline: none;
	border: 1px solid #D8D8D8;
	border-radius: 3px;
}

button {
	background: #080;
	border: 1px solid #070;
	color: #FFF;
	border-radius: 3px;
	padding: .25rem .5rem;
	cursor: pointer;
}

button:hover {
	background: #070;
	border: 1px solid #060;
}

a {
	color: #070;
}

/* =====================================================================================================================

                                                  Top navigation

===================================================================================================================== */

body > nav {
	height: 70px;
	z-index: 1;
	position: sticky;
	top: 0;
	background-color: #101629;
	color: #FFF;
	padding: .5rem 0;
	box-shadow: 0 0 5px 0px rgb(40 48 70);
}

#navigation-logo {
	transition: opacity 250ms ease;
}

.nav-content {
	display: flex;
	height: 100%;
	justify-content: space-between;
	align-items: center;
}

.menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 32px;
}

.menu a {
	font-family: 'Roboto', sans-serif;
	color: #FFF;
	text-decoration: none;
}

.menu a:hover {
	text-decoration: underline;
}

/*
  Mobile nav
*/
#menu-toggler, .menu--small__items, #mobile-nav {
	display: none;
}

@media (max-width: 1200px) {
	#menu-toggler {
		display: block;
		cursor: pointer;
	}

	#mobile-nav.visible {
		display: block;
	}

	.menu {
		display: none;
	}

	.menu--small__toggle, .menu--small__items {
		display: block;
	}

	.menu--small__items {
		display: none;
		position: absolute;
		list-style-type: none;
		margin: 0;
		padding: 0;
		background: #101629;
		top: 100%;
		width: 100%;
		left: 0;
	}

	.menu--small__items a {
		font-family: 'Roboto', sans-serif;
		color: #FFF;
		padding: .5rem 1rem;
		display: block;
		text-decoration: none;
	}

	.menu--small__items a:hover {
		background-color: #080B14;
	}

	.menu--small__items a:hover {
		text-decoration: underline;
	}

	.menu--small__items li a {
		border-top: 1px solid #192341;
	}

	.menu--small__toggle {
		cursor: pointer;
	}

	#menu-toggle {
		display: none;
	}

	#menu-toggle:checked + .menu--small__items {
		display: block;
	}
}

/* =====================================================================================================================

                                                  Header section

===================================================================================================================== */

body > header {
	position: relative;
	height: 50vh;
	background-repeat: no-repeat;
	background-image: linear-gradient(
			rgba(0, 0, 0, 0.5),
			rgba(0, 0, 0, 0.5)
	),
	url("../img/header_background.jpg");
	background-position: top right;
	background-attachment: fixed;
	background-size: cover;
	display: flex;
	align-items: center;
	overflow: hidden;
}

body > header img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -80%);
	max-width: 900px;
	max-height: 20vh;
}

body > header h1 {
	text-align: center;
	color: #FFF;
	font-weight: bold;
}

.shape-divider {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	overflow: hidden;
	line-height: 0;
	transform: rotate(180deg);
}

.shape-divider svg {
	position: relative;
	display: block;
	width: calc(118% + 1.3px);
	height: auto;
	max-height: 180px;
}

.shape-divider .shape-fill {
	fill: #FFF;
}

/* =====================================================================================================================

                                                  About section

===================================================================================================================== */

body > main {
	padding: 3rem 0 0 0;
	background: url("/img/about-graphic.svg") no-repeat;
	background-position-x: calc(50vw + 64px);
	background-position-y: bottom;
	background-size: contain;
}

body > #main-content > .main-content {
	padding-bottom: 3rem;
}

@media (max-width: 1200px) {
	body > main {
		background-size: 65%;
	}
}

@media (max-width: 1060px) {
	body > main {
		background: none;
	}
}


/* =====================================================================================================================

                                                  Pricing section

===================================================================================================================== */

#pricing {
	color: #FFF;
	padding: 2rem 0 0 0;
	background: #690 url("/img/pricing-graphic.svg") no-repeat;
	background-position-x: calc(50vw - 600px);
	background-position-y: top;
	background-size: auto 500px;
}

#pricing > div {
	padding: 5rem 0;
	flex-direction: column;
	display: flex;
	align-items: flex-end;
}

.pricing-content {
	position: relative;
	width: 100%;
	max-width: 450px;
	padding: 0 2rem;
	margin-right: 10rem;
}

#calculator-details > summary {
	font-family: 'Roboto', sans-serif;
	list-style: none;
	padding: 20px;
	background: #FC6252;
	color: #FFF;
	margin-bottom: 20px;
	text-align: center;
	border-radius: 10px;
	box-shadow: -3px 3px 22px -8px rgba(0, 0, 0, 0.5);
	transition: all 0.2s ease-in-out;
}

#calculator-details > summary:hover,
#calculator-details > summary:focus {
	background: #EC5A4D;
}

#calculator-details input {
	padding: 10px;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	font-family: 'Roboto', sans-serif;
	width: 100%;
	height: 100%;
}

#calculator-details form {
	display: flex;
}

#calculator-details button {
	padding: 10px;
	background: #101629;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.floating-label {
	position: relative;
	flex: 1;
}

.floating-label label {
	position: absolute;
	font-weight: bold;
	transition: all 0.2s linear;
	left: 0;
	text-transform: uppercase;
	top: -20px;
	font-size: 13px;
	transform: translateY(0);
	font-family: 'Roboto', sans-serif;
	color: #FFF;
}

.floating-label input:placeholder-shown:not(:focus) + label {
	cursor: text;
	top: 50%;
	transform: translateY(-50%);
	color: #656565;
	left: 10px;
}

.floating-label input::-webkit-input-placeholder {
	opacity: 0;
	transition: inherit;
}

table {
	margin: 1em 0 0 0;
	width: 100%;
}

table th {
	font-weight: 900;
	text-align: left;
}

table td:nth-of-type(2) {
	text-align: right;
}

.text-right {
	text-align: right;
}

summary {
	cursor: pointer;
}

details {
	margin-top: 1rem;
}

details table {
	margin-top: 0;
}

@media (max-width: 920px) {
	.pricing-content {
		margin-right: auto;
		margin-left: auto;
	}
	#pricing {
		background: #690;
	}
}

/* =====================================================================================================================

                                                  More info section

===================================================================================================================== */

#more-info-content {
	color: #fff;
	position: relative;
}

#more-info-content:before {
	content: "";
	position: absolute;
	z-index: -1;
	inset-block: 1%;
	inset-inline: -15% 0;
	border-radius: 30% 70% 70% 30% / 53% 30% 70% 47%;
	background-image: linear-gradient(to bottom right,#475375, #101629);
}

#more-info-content .more-info-content {
	padding: 5rem 2rem;
}

#more-info-content li {
	list-style-image: url("../img/list-icon.svg");
}

/*
      1             2              3             4            5           6              7            8
  1   +─────────────+──────────────+─────────────+────────────+───────────+──────────────+────────────+
      │             │              │             │            │           │              │            │
  2   +─────────────+──────────────+─────────────+────────────+───────────+──────────────+────────────+
      │             │              │             │            │           │              │            │
  3   +─────────────+──────────────+─────────────+────────────+───────────+──────────────+────────────+
      │             │              │             │            │           │              │            │
  4   +─────────────+──────────────+─────────────+────────────+───────────+──────────────+────────────+
*/
.more-info-grid {
	display: grid;
	gap: 32px;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
	align-items: baseline;
}

.more-info__heading {
	grid-area: 1 / 1 / 3 / 4;
}

.more-info__vehicles {
	grid-area: 1 / 4 / 3 / 7;
}

.more-info__companies {
	grid-area: 3 / 2 / 5 / 5;
}

.more-info__person {
	grid-area: 4 / 5 / 6 / 8;
}

.more-info__item {
	background: #fff;
	color: #222;
	border-radius: 5px;
	padding: 1rem;
	box-shadow: 0px 0px 55px 0px #0a0d16;
}

.muted {
	color: #757575;
}

@media(max-width: 1200px) {
	.more-info-grid {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}
}

@media(max-width: 720px) {
	#more-info-content:before {
		content: none;
	}

	#more-info-content .more-info-content {
		color: #222;
		padding: 2rem 2rem 0 2rem;
	}

	#more-info-content li {
		list-style-image: url("../img/list-item-inverted.svg");
	}

	.more-info__item {
		background-color: #283046;
		color: #fff;
		box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, .3);
	}

	.muted {
		color: #999;
	}
}

/* =====================================================================================================================

                                                  Details section

===================================================================================================================== */

#details-content {
	padding: 4rem 0 0 0;
	background: url("/img/details-graphic.svg") no-repeat;
	background-position-x: calc(50vw + 64px);
	background-position-y: center;
	background-size: 500px;
}

#details-content .details-content {
	padding-bottom: 4rem;
}

#details-content .details-content > div:last-of-type {
	margin-top: 3rem;
}

@media (max-width: 940px) {
	#details-content {
		background: none;
	}
}

@media(max-width: 720px) {
	#details-content {
		padding-top: 0;
	}
}


/* =====================================================================================================================

                                                  Contact section

===================================================================================================================== */

body > div {
	padding: 10rem 0 8rem 0;
	background-color: #283046;
}

#contact {
	position: relative;
}

.contact-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 128px;
}

.contact-item {
	position: relative;
	width: 100%;
	max-width: 28rem;
	padding: 2rem 2rem 2rem 2rem;
	background-color: #FFF;
	text-align: center;
	border-radius: 5px;
	text-decoration: none;
	color: #000;
	transition: all 250ms ease-in-out;
}

.contact-item__svg {
	stroke: #FFF;
}

.contact-item__icon {
	position: absolute;
	top: 0;
	left: 2rem;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 12rem;
	height: 12rem;
}

.contact-content h2 {
	margin-bottom: 1rem;
}

.contact {
	font-size: 1.5rem;
}

.contact-bottom-waves {
	position: absolute;
	top: calc(100% - 1px);
	z-index: 5;
	pointer-events: none;
}

@media (max-width: 1200px) {
	.contact-content {
		flex-direction: column;
	}

	.contact-item:last-of-type .contact-item__icon {
		left: 100%;
	}
}

@media (max-width: 670px) {
	#contact {
		padding: 5rem 0;
	}

	.contact-content {
		padding: 0 2rem !important;
		gap: 64px;
	}

	.contact-item__icon {
		width: 6rem;
		height: 6rem;
		left: 50% !important;
	}
}

/* =====================================================================================================================

                                                      Footer

===================================================================================================================== */

body > footer {
  background-image:
    url("../img/map-left.png"),
    url("../img/map-right.png");
  background-position-x: left, right;
  background-position-y: center;
  background-repeat: no-repeat;
  background-size: 680px;
}

body > footer > div {
  padding: 6rem 0 3rem 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 5%, rgba(255,255,255,1) 95%, rgba(255,255,255,0) 100%);
}

body > footer .grid {
	display: grid;
	gap: 64px;
	justify-content: center;
	grid-template-columns: 1fr 1fr;
}

body > footer .grid > div {
	justify-self: center;
	align-self: end;
}

body > footer address {
	font-style: unset;
	display: flex;
	gap: 16px;
	align-items: center;
	margin-top: 1rem;
}

body > footer a {
	text-decoration: none;
	color: #000;
}

body > footer a:hover {
	text-decoration: underline;
}

.footer-contact__item {
	display: flex;
	gap: 6px;
	align-items: center;
}

.footer-contact__item svg {
	width: 1rem;
	height: 1rem;
}

.footer-contact > div:not(:last-of-type) {
	margin-bottom: .5rem;
}

.bisnode {
	display: inline-block;
}

@media(max-width: 1200px) {
  body > footer > div {
    background: #fff;
  }
}

@media (max-width: 800px) {
	body > footer .grid {
		gap: 32px;
	}
}

@media (max-width: 730px) {
	body > footer .grid {
		gap: 8px;
	}
}


@media (max-width: 685px) {
	body > footer .grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	body > footer .grid > div:nth-child(2) {
		order: 1;
	}
}
