/*
==================================================================
Theme Name: Zaico
Version: 1.0
Author: Neobrand®
Author URI: https://neobrand.com
==================================================================
*/

@import url('css/config.css');

/* General */

html,
body {
	font-family: 'DM Sans', sans-serif;
	line-height: 1.2;
	color: #6e6e6e;
	font-size: var(--size-400);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body figure {
	margin: 0;
}

.wp-block-columns.gap-50{
	gap: 50px;
}

.about .service-1__info{
	margin-top: 50px;	
}

.absolute {
	position: absolute;
}

.inset {
	inset: 0;
}

.relative {
	position: relative;
}

.w-60 {
	width: 60%;
}

.m-auto {
	margin: auto;
}

.flex-center {
	display: flex;
	align-items: center;
	color: white;
}

.color-white {
	color: white;
}

.grid {
	display: grid;
}

.grid-cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

/* Header */

header #logo svg {
	height: 40px;
	color: #222222;
}

header .scrolling #logo svg {
	height: 30px;
	color: #222222;
}

.nav__menu > li > a span {
	position: relative;
}

.nav__menu > li > a span::after {
	content: '';
	width: 0;
	height: 2px;
	background-color: #000;
	transition: all 280ms ease;
	position: absolute;
	bottom: -5px;
	left: 50%;
}

.nav__menu > li > a:hover span::after,
.nav__menu > li > a.current span::after {
	width: 100%;
	left: 0;
}

.tp-caption.hero-text {
	min-width: 650px !important;
	line-height: 1;
	white-space: wrap !important;
}

.tp-caption.small-text p {
	min-width: 650px !important;
	line-height: 1.1;
	white-space: wrap !important;
}

.block-1 {
	width: calc(100% - 60px);
	margin: auto;
}

.mySwiper .swiper-wrapper figure::after {
	content: '';
	position: absolute;
	inset: 0;
	background-color: rgb(0, 0, 0, .4);
}

.mySwiper .text {
	color: white;
	display: flex;
	flex-direction: column;
	position: absolute;
	z-index: 5;
	top: 50%;
	left: 20%;
	transform: translateY(-50%);
	max-width: 600px;
}

.mySwiper .text h1 {
	color: white;
}

.mySwiper .text p {
	font-weight: 500;
}

.mySwiper .text a {
	width: fit-content;
	margin-top: 20px;
}

.mySwiper figure img {
	min-height: calc(100vh - 115px);
	max-height: calc(100vh - 115px);
	width: 100%;
	object-fit: cover;
}

.mySwiper .swiper-button-next,
.mySwiper .swiper-button-prev {
	opacity: 0;
	pointer-events: none;
	transition: all 320ms ease;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgb(0, 0, 0, .6);
}

.mySwiper .swiper-button-next:after,
.mySwiper .swiper-button-prev:after {
	color: #D6A461;
	font-size: 22px;
}

.mySwiper:hover .swiper-button-next,
.mySwiper:hover .swiper-button-prev {
	pointer-events: all;
	opacity: 1;
}

.mySwiper .swiper-slide .text > * {
	opacity: 0;
	transform: translateY(25px);
	transition: all 520ms ease;
}

.mySwiper .swiper-slide.swiper-slide-duplicate-active .text > *,
.mySwiper .swiper-slide.swiper-slide-active .text > * {
	opacity: 1;
	transform: none;
	transition-delay: 850ms;
}

.duty .section-wrap .container {
	transform: translateX(-15px);
}

/* Footer  */

footer #logo svg {
	height: 40px;
	color: #fff;
}

.slick-slider .slick-list,
.slick-slider .slick-track {
	max-height: 75vh;
}

/*Project*/
.project .blog__content > .container {
	transform: translateX(-110px);
}

.project__container,
.project__img-holder {
	height: 100%;
}

.project__img-holder img {
	height: 100%;
	object-fit: cover;
}

.project__container {
	max-height: 600px;
	position: relative;
}

.project .grid {
	grid-template-columns: .6fr .4fr;
	grid-template-rows: 300px 300px;
	gap: 30px;
}

.project .grid > figure:first-child {
	grid-column: 1/2;
	grid-row: 1/-1;
}

.project .grid > figure:nth-child(n+4) {
	display: none;
}

.project .grid .absolute {
	right: 20px;
	bottom: 20px;
	z-index: 3;
	pointer-events: none;
}

.project .grid > figure {
	overflow: hidden;
	cursor: zoom-in;
}

.project .grid > figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
}

.project .grid > figure::after {
	content: '\f00e';
	width: 100%;
	height: 100%;
	font-size: 24px;
	color: #fff;
	background-color: rgb(0 0 0/75%);
	display: flex;
	align-items: center;
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	opacity: 0;
	transform: scale(1.2);
	justify-content: center;
	pointer-events: none;
	transition: all .28s ease;
	position: absolute;
	top: 0;
	left: 0;
}

.project .grid > figure:hover::after {
	opacity: 1;
	transform: none;
}

.regular .project__img-holder img {
	min-height: 600px;
	max-height: 600px;
}

/*Contacto*/
.wpcf7 form {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.wpcf7 form input,
.wpcf7 form select {
	height: 50px;
	width: 100%;
	padding: 0px 15px 0 10px;
	border-bottom: 1px solid #ebebeb;
	background: white;
	appearance: none;
}

.wpcf7 form select {
	color: #757575;
	background: #fff url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
	background-size: 16px 16px;
	cursor: pointer;
	vertical-align: middle;
}

.wpcf7 form input[type='submit'] {
	height: auto;
}

.wpcf7 form .fields {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.wpcf7 form input[type="submit"] {
	background: #000;
	color: #fff;
	width: fit-content;
	margin-left: auto;
	padding: 15px 2rem;
	transition: all 280ms ease;
	font-size: 16px;
	letter-spacing: 1px;
	padding: 12px 40px;
}

.wpcf7 form input[type="submit"]:hover {
	background: #911535;
}

.wpcf7 form .fields .wpcf7-form-control-wrap {
	width: 100%;
}

.wpcf7 form .wpcf7-form-control-wrap[data-name="text"] {
	width: 100%;
	grid-column: 1 / -1;
	padding: 0;
}

.contact-form-area .contact-form textarea {
	min-height: 100px;
	height: 100px;
	padding-left: 10px;
	padding-right: 15px;
}

.wpcf7 form textarea {
	width: 100%;
	height: 150px;
	padding-top: 15px;
	border-bottom: 1px solid #ecf0f3;
	background-color: #fff;
	resize: none;
}

.wpcf7 form .last {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.wpcf7 form .last > .wpcf7-form-control-wrap {
	width: 100%;
	display: flex;
	align-items: center;
}

.last .wpcf7-list-item {
	margin: 0;
}

.wpcf7 form .last label {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.wpcf7 form .last label::before {
	content: '';
	width: 16px;
	height: 16px;
	border: 1px solid #000;
	margin-right: 5px;
}

.wpcf7 form .last label::after {
	content: '';
	width: 12px;
	height: 12px;
	background-color: #000;
	transform: scale(0);
	transition: all 280ms ease;
	position: absolute;
	top: 3px;
	left: 2px;
}

.wpcf7 form .last label.active::after {
	transform: scale(1);
}

.wpcf7 form .last label > * {
	width: fit-content;
}

.wpcf7 form .last label > input {
	width: 18px;
	height: 18px;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
}

.wpcf7 form .last label a {
	color: #000;
	text-decoration: underline;
}

.wpcf7 .wpcf7-submit:disabled {
	filter: grayscale(1);
	opacity: .4;
}

.wpcf7 .privacy-info {
	display: none;
	font-size: 10pt;
	line-height: 1.5;
	margin-top: 5px;
	color: black;
}

.wpcf7 .privacy-info.show {
	display: block;
}

.wpcf7 .wpcf7-not-valid-tip {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 7.5px 10px 7.5px 0;
	border-color: transparent #ff9800 transparent transparent;
	text-indent: -9999px;
	transform: translateY(-50%);
	overflow: hidden;
	position: absolute;
	right: 5px;
	top: 30%;
}

.wpcf7 form.invalid .wpcf7-response-output {
	display: none;
}

/* Footer */

footer h5 {
	color: white;
}

/* Misc */

.kit {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px 0;
	background: #222222;
	border-top: 1px solid #868686;
}

.kit figure img {
	max-width: 300px;
}

@media screen and (max-width:767px) {
	header #logo {
		margin: 0;
		padding-top: 3px;
	}

	header #logo svg,
	footer #logo svg {
		height: 30px;
	}

	.mySwiper .text {
		left: 0;
		padding-left: 20px;
		padding-right: 20px;
	}

	.project .grid {
		grid-template-columns: 100%;
		grid-template-rows: 100%;
	}

	.project .grid > figure:nth-child(n+2) {
		display: none;
	}

	.project .grid > figure:first-child {
		max-height: 450px;
	}

	.duty .section-wrap .container {
		transform: none;
	}

	.project .blog__content > .container {
		transform: none;
	}

	.testimonial__text {
		font-size: 20px;
		line-height: 1.3;
	}

	.testimonial__body {
		margin-top: 0;
	}

	.footer__bottom .text-md-center {
		text-align: left;
	}

}

.absolute-inset {
	position: absolute;
	inset: 0;
	z-index: 3;
}

.pointer {
	cursor: pointer;
}

.service-1 > a {
	position: relative;
	overflow: hidden;
}

.service-1 > a::before {
	content: '';
	width: 25%;
	height: 50%;
	background-color: #fff;
	transform: rotate(45deg) translate(-50%);
	position: absolute;
	top: -10%;
	left: -5%;
	z-index: 5;
}

.service-1__info {
	padding: 20px 30px;
	box-shadow: 0 0 5px rgba(0 0 0 / 15%);
}

.service-1__title {
	margin-bottom: 0;
}

.nav__holder.sticky.scrolling {
	box-shadow: 0 3px 5px rgba(0 0 0 / 15%);
}

.intro__title {
	max-width: 100%;
}

.page-title {
	padding-block: 50px;
}

.project .page-title,
.duty .page-title {
	padding-block: 225px;
}

.duty .page-title {
	padding-block: 175px;
}

.read-more {
	color: white;
}

.services .section-wrap {
	padding-bottom: 50px;
}

.services .section-wrap.pt-0 {
	padding-top: 0;
}

.services .section-wrap.pb-0 {
	padding-bottom: 0;
}

.services #passivhaus {
	margin-top: 70px;
}

.project-1__title a:hover {
	color: #fff;
}