@import "_mixins";
@import "_variables";

.box-01 {
	padding: 100px 0;
	overflow: hidden;

	ul {
		position: relative;
		list-style: none;
		padding: 0;
		margin: 0;
		display: flex;
		flex-direction: row;
		justify-content: center;
		column-gap: 50px;

		@include respond-above(md) {
			&::before {
				content: "";
				position: absolute;
				top: calc(144px / 2);
				height: 1px;
				left: 50%;
				width: 100vw;
				transform: translate(-50%, -50%);
				background: $cBlack;
			}
		}

		li {
			position: relative;
			display: flex;
			flex-direction: column;
			row-gap: 25px;
			z-index: 1;
			background: $cWhite;

			img {
				width: 144px;
				min-width: 144px;
				height: 144px;
				border-radius: 100%;
				border: 1px solid $cBlack;
				object-fit: none;
				max-width: unset !important;
				background-color: $cLightGray;
			}
			p {
				color: $cTxtBlack;
				font-size: 16px;
				margin-bottom: 0;
				text-align: center;
			}
		}
		@include respond-below(md) {
			flex-wrap: wrap;
			row-gap: 40px;
		}
	}
}

.box-02 {
	margin-bottom: 70px;

	.row {
		&.row_1 {
			.col-wrapper {
				height: 100%;
				background: $cLightGray;
			}

			.col-left {
				@include respond-below(md) {
					img {
						max-width: unset !important;
					}
				}
			}
		}

		&.row_2 {
			.col-wrapper {
				display: flex;
				flex-direction: row;
				align-items: center;
				justify-content: center;
				column-gap: 40px;
				padding: 30px;
				background: $cLightGray;
			}

			img {
			}
			ul {
				list-style: none;
				padding: 0;
				margin: 0;

				li {
					p {
						position: relative;
						font-size: 9px;
						width: fit-content;
						padding-right: 20px;
						margin-bottom: 12px;

						border-bottom: 1px solid $cSandDarker;
						strong {
							font-weight: 700;
						}
					}
					h3 {
						font-size: 19px;
						font-weight: 300;
						margin-bottom: 25px;
					}
					a.btn-1 {
						font-size: 19px;
						font-weight: 300;
						padding: 17px 70px 13px 30px;

						&::before {
							width: 30px;
							right: 25px;
						}
						&::after {
							right: 25px;
						}
					}
				}
			}
		}

		&.row_3 {
			.col-left {
				.col-data {
					max-width: 300px;
					text-align: right;
					margin-left: auto;
					margin-right: 60px;
					padding: 30px 0;
				}

				p {
					color: $cTxtBlack;
					font-size: 14px;
					font-weight: 300;
					margin-bottom: 0;
					line-height: 2;
				}
			}
			@include respond-below(md) {
				.col-left {
					order: 1;
					.col-data {
						max-width: unset;
						margin-right: 0;
						text-align: center;
					}
				}
				.col-right {
					img {
						max-width: unset !important;
					}
				}
			}
		}
	}
}

.box-03 {
	margin-bottom: 60px;

	h2 {
		font-size: 30px;
		font-weight: 300;
		margin-bottom: 0;
	}

	.col-left {
		border-right: 2px solid $cBlack;

		.col-data {
			text-align: right;
			margin-right: 70px;
			padding-bottom: 50px;

			h2 {
				margin-bottom: 25px;
			}
			p {
				font-size: 14px;
				font-weight: 300;
				margin-bottom: 0;
				line-height: 2;
			}
			img {
				margin-top: 50px;
			}
		}

		@include respond-below(md) {
			border-right: none;
			.col-data {
				display: flex;
				flex-direction: column;
				align-items: center;
				margin-right: auto;
				text-align: center;
			}
		}
	}

	.col-right {
		.col-data {
			display: flex;
			flex-direction: column;
			column-gap: 20px;
			margin-left: 60px;

			> div {
				display: flex;
				flex-direction: row;
				column-gap: 45px;
				align-items: center;

				ul {
					padding: 0;
					margin: 0;
					list-style: none;

					li {
						display: flex;
						flex-direction: row;
						align-items: center;
						column-gap: 11px;
						&:not(:last-child) {
							margin-bottom: 3px;
						}

						p {
							font-size: 12px;
							margin-bottom: 0;
						}
					}
				}
			}
		}
		@include respond-below(md) {
			.col-data {
				margin-left: auto;
				flex-direction: column;
				align-items: center;
				row-gap: 30px;
			}
		}
	}
}

.box-04 {
	margin-bottom: 190px;
	@include respond-below(md) {
		margin-bottom: 100px;
	}
	.row {
		&.row_1 {
			margin-bottom: 60px;
		}
		&.row_2 {
			.col-data {
				position: relative;
				margin: 0 auto;
				width: 100%;
				max-width: 820px;
				padding: 0 60px 30px 60px;

				display: grid;
				grid-template-columns: 1fr 1fr;
				column-gap: 100px;
				grid-template-areas:
					"col_1_subtitle col_2_subtitle"
					"col_1_title col_2_title"
					"col_1_txt col_2_txt"
					"col_1_img col_2_img";

				&::before {
					content: "";
					position: absolute;
					left: 0;
					top: 0;
					bottom: 0;
					width: 2px;
					background: $cBlack;
				}
				&::after {
					content: "";
					position: absolute;
					right: 0;
					top: 0;
					bottom: 0;
					width: 2px;
					background: $cBlack;
				}

				h3 {
					font-size: 13px;
					font-weight: 700;
					margin-bottom: 30px;
				}
				h2 {
					font-size: 25px;
					font-weight: 300;
					margin-bottom: 15px;
				}
				p {
					font-size: 13px;
					font-weight: 300;
					line-height: 2;
					margin-bottom: 0;
				}
				img {
					height: 100%;
					width: 100%;
					object-fit: contain;
					object-position: bottom;
					max-width: fit-content;
					margin: 0 auto;
				}

				.col-1-subtitle {
					grid-area: col_1_subtitle;
					text-align: right;
				}
				.col-2-subtitle {
					grid-area: col_2_subtitle;
				}

				.col-1-title {
					grid-area: col_1_title;
					text-align: right;
				}
				.col-2-title {
					grid-area: col_2_title;
				}

				.col-1-txt {
					grid-area: col_1_txt;
					text-align: right;
				}
				.col-2-txt {
					grid-area: col_2_txt;
				}

				.col-1-img {
					grid-area: col_1_img;

					@include respond-below(md) {
						padding-bottom: 80px;
					}
				}
				.col-2-img {
					grid-area: col_2_img;
				}

				@include respond-below(md) {
					grid-template-columns: 1fr;
					grid-template-areas:
						"col_1_subtitle"
						"col_1_title"
						"col_1_txt"
						"col_1_img"
						"col_2_subtitle"
						"col_2_title"
						"col_2_txt"
						"col_2_img";
					padding: 0 30px 30px 30px;
					> * {
						text-align: center !important;
					}
				}
			}
		}
	}
}
