/*
Theme Name: MWM Author Mowomo
Theme URI: https://example.com/
Author: MWM
Description: Tema base para bloques dinamicos de la home de Versan.
Version: 1.0.0
Text Domain: mwm-author-mowomo
*/

*{
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

:root {
	--mwm-blue: #00303c;
	--mwm-blue-dark: #051d2e;
	--mwm-color-brown: #94674c;
	--mwm-color-sky: #4da3ff;
	--mwm-color-brand: #0057b5;
	--mwm-color-navy: #052438;
	--mwm-color-cream: #fff6e9;
	--mwm-color-light: #f8f8f8;
	--mwm-color-gray: #736e69;
	--mwm-color-gray-medium: #717171;
}


body {
	margin: 0;
	font-family: "Poppins", Arial, sans-serif;
	background: var(--mwm-color-cream);
	color: var(--mwm-blue);
}


h1,
h2,
h3 {
	margin: 0;
	font-family: "Fraunces", Georgia, serif;
	color: var(--mwm-blue);
	font-weight: 700;
}

h4,
h5,
h6 {
	margin: 0;
	font-family: "Inter", Arial, sans-serif;
	font-weight: 600;
	color: var(--mwm-blue);
}

h1 {
	font-size: 48px;
	line-height: 56px;
	font-weight: 700;
}

h2 {
	font-size: 40px;
	line-height: 48px;
	font-weight: 400;
}

h3 {
	font-size: 32px;
	line-height: 40px;
	font-weight: 700;
}

h4,
h5,
h6 {
	font-size: 24px;
	line-height: 32px;
}

p,
li,
a {
	font-size: 16px;
	line-height: 24px;
}

a {
	color: inherit;
}

small {
	font-size: 12px;
	line-height: 16px;
}

/*	# BUTTONS
===================================*/
.mwm-btn,
.mwm-btn-primary,
.mwm-btn-secondary,
.mwm-outline,
.mwm-btn-outline,
.mwm-btn-outline-line {
	align-items: center;
	background: transparent;
	border: 1px solid transparent;
	color: var(--mwm-color-cream);
	cursor: pointer;
	display: inline-flex;
	font-family: "Poppins", Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	gap: 16px;
	justify-content: center;
	line-height: 24px;
	padding: 16px 24px;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, text-decoration-color 0.25s ease;
}

.mwm-btn:focus-visible,
.mwm-btn-primary:focus-visible,
.mwm-btn-secondary:focus-visible,
.mwm-outline:focus-visible,
.mwm-btn-outline:focus-visible,
.mwm-btn-outline-line:focus-visible {
	outline: 2px solid var(--mwm-color-brand);
	outline-offset: 2px;
}

.mwm-btn-primary {
	background-color: var(--mwm-color-brown);
	border-color: var(--mwm-color-brown);
	color: var(--mwm-color-cream);
}

.mwm-btn-primary:hover {
	background-color: var(--mwm-blue);
	border-color: var(--mwm-color-brown);
	color: var(--mwm-color-cream);
}

.mwm-btn-secondary {
	background-color: var(--mwm-blue);
	border-color: var(--mwm-blue);
	color: var(--mwm-color-cream);
}

.mwm-btn-secondary:hover {
	background-color: var(--mwm-color-brown);
	border-color: var(--mwm-blue);
	color: var(--mwm-color-cream);
}

.mwm-outline,
.mwm-btn-outline {
	background-color: transparent;
	border-color: var(--mwm-color-cream);
	color: var(--mwm-color-cream);
}

.mwm-outline:hover,
.mwm-btn-outline:hover {
	background-color: transparent;
	border-color: var(--mwm-color-brown);
	color: var(--mwm-color-brown);
}

.mwm-btn-outline-line {
	background-color: transparent;
	border-color: var(--mwm-color-cream);
	color: var(--mwm-color-cream);
	text-decoration: none;
	text-underline-offset: 3px;
	position: relative;
	overflow: hidden;
	transition: color 0.2s;
}

.mwm-btn-outline-line::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%) scaleX(0);
	width: 80%;
	height: 2px;
	background: var(--mwm-color-cream);
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	transform-origin: center;
	pointer-events: none;
}

.mwm-btn-outline-line:hover {
	background-color: transparent;
	border-color: var(--mwm-color-cream);
	color: var(--mwm-color-cream);
	text-decoration: underline;
}

@media (max-width: 767px) {
	h1 {
		font-size: 36px;
		line-height: 44px;
	}

	h2 {
		font-size: 32px;
		line-height: 40px;
	}

	h3 {
		font-size: 28px;
		line-height: 36px;
	}

	h4,
	h5,
	h6 {
		font-size: 24px;
		line-height: 32px;
	}

	p,
	li,
	a {
		font-size: 16px;
		line-height: 24px;
	}

	strong,
	b {
		font-weight: 500;
	}

	small {
		font-size: 12px;
		line-height: 16px;
	}
}


/*	# FORMS
===================================*/
label {
	cursor: pointer;
	display: block;
	margin-bottom: 0.5em;
}
  
/* FIELDSET */
fieldset {
	background: transparent;
	border: 0;
	margin: 2rem 0;
	padding: 2rem;
}
  
fieldset legend {
	float: left;
	font-size: 1.875rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}
  
/* FIELDS */
input:not([type=checkbox], [type=radio]),
textarea,
select {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}
  
input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea,
select {
	background: transparent;
	border: 1px solid var(--mwm-color-gray);
	border-radius: 0;
	color: var(--mwm-blue-dark);
	display: block;
	padding: 1rem 1.5rem;
	width: 100%;
	font-family: "Inter", Arial, sans-serif; 
	font-size: 1rem;
	font-weight: 400;
	outline: none;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus,
select:focus {
	border-color: var(--mwm-color-brown);
	border-width: 2px;
	border-radius: 0;
	outline: none;
}
  
textarea {
	border-radius: 1rem;
	max-height: 10rem;
	overflow-y: auto;
}
  
/* SELECT */
select {
	appearance: none;
	background-clip: border-box;
	-moz-background-clip: border-box;
	-webkit-background-clip: border-box;
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%239a9a9a' d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'%3E%3C/path%3E%3C/svg%3E");
	background-position: right center;
	background-repeat: no-repeat;
	background-size: 2em 1em;
	border-radius: 18rem;
	color: var(--mwm-color-gray);
	max-width: 100%;
	padding-right: 1.25em;
	position: relative;
}
  
/* CHECKBOXES & RADIO BUTTONS */
input[type=radio],
input[type=checkbox] {
	appearance: none;
	-webkit-appearance: none;
	background-color: transparent;
	border: 1px solid var(--mwm-blue-dark);
	border-radius: 50%;
	cursor: pointer;
	height: 1.5rem;
	margin-right: 0.5rem;
	position: relative;
	vertical-align: middle;
	width: 1.5rem;
}

input[type=radio]:checked::after,
input[type=checkbox]:checked::after {
	background: var(--mwm-color-brown);
	border-radius: 50%;
	content: "";
	display: block;
	height: 1rem;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 1rem;
}
  
input[type=checkbox] {
	border-radius: 0;
}
  
input[type=checkbox]:checked::after {
	border-radius: 0;
}
  
/*	GPRD */
.gdpr button {
	width: unset;
}
  
/* PLADEHOLDER */
::-webkit-input-placeholder {
	color: var(--mwm-color-gray);
	font-size: 16px;
	font-weight: 400;
}
  
:-moz-placeholder {
	color: var(--mwm-color-gray);
	font-size: 16px;
	font-weight: 400;
}
  
::-moz-placeholder {
	color: var(--mwm-color-gray);
	font-size: 16px;
	font-weight: 400;
	opacity: 1;
}
  
:-ms-input-placeholder {
	color: var(--mwm-color-gray);
	font-size: 16px;
	font-weight: 400;
}
  
/* CF7 */
.wpcf7-list-item {
	margin: 0;
}
  
.wpcf7-not-valid-tip {
	margin-top: 0.5rem;
}
  
/*	# SEARCH FORM
===================================*/
.search-form form {
	position: relative;
}
  
.search-form input[type=search]::-webkit-search-decoration,
  .search-form input[type=search]::-webkit-search-cancel-button,
  .search-form input[type=search]::-webkit-search-results-button,
  .search-form input[type=search]::-webkit-search-results-decoration {
	-webkit-appearance: none;
}
  
.search-form button {
	background: var(--mwm-color-brown);
	border: none;
	bottom: 0;
	color: var(--mwm-color-cream);
	display: inline-block;
	font-size: 1rem;
	min-width: unset;
	outline: none;
	padding: 1rem 1.5rem;
	position: absolute;
	right: 0;
	top: 0;
	width: auto;
}

.text-black{
	color: var(--mwm-blue);
}

.info-text{	
	margin-top: 1.5rem;
}

.row-inputs{
	margin-top: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	align-items: center;
}

.wpcf7-spinner{
	position: absolute;
	bottom: 0;
	right: 0;
}

/* Paginas legales */

.mwm-legal-page {
	padding-top: 40px;
	padding-bottom: 40px;
}

.mwm-legal-page__header-inner {
	max-width: calc(1104px + 32px);
	margin: 0 auto;
	padding-left: 16px;
	padding-right: 16px;
}

.mwm-legal-page__title {
	margin: 0;
	color: var(--mwm-blue);
	font-family: "Fraunces", serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 40px;
	word-wrap: break-word;
}

.mwm-legal-page__content {
	margin-top: 40px;
}

.mwm-legal-page__content-inner {
	max-width: calc(880px + 32px);
	margin: 0 auto;
	padding-left: 16px;
	padding-right: 16px;
}

.mwm-legal-page__content-inner h2,
.mwm-legal-page__content-inner h3,
.mwm-legal-page__content-inner h4,
.mwm-legal-page__content-inner h5,
.mwm-legal-page__content-inner h6 {
	margin: 0 0 16px;
	color: var(--mwm-blue-dark);
	font-family: "Inter", Arial, sans-serif;
	font-weight: 600;
}

.mwm-legal-page__content-inner h2 {
	font-size: 24px;
	line-height: 32px;
}

.mwm-legal-page__content-inner h3,
.mwm-legal-page__content-inner h4,
.mwm-legal-page__content-inner h5,
.mwm-legal-page__content-inner h6 {
	font-size: 20px;
	line-height: 28px;
}

.mwm-legal-page__content-inner p {
	margin: 0 0 24px;
}

.mwm-legal-page__content-inner a {
	color: inherit;
}

.mwm-legal-page__content-inner ul,
.mwm-legal-page__content-inner ol {
	margin: 0 0 1rem;
	padding: inherit;
}

.mwm-legal-page__content-inner > :last-child {
	margin-bottom: 0;
}

@media (min-width: 768px) {
	.mwm-legal-page {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.mwm-legal-page__content {
		margin-top: 80px;
	}
}

.mwm-card-proyect {
	width: 100%;
	height: 100%;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 16px;
}

.mwm-card-proyect__image {
	align-self: stretch;
	width: 100%;
	height: 467px;
	object-fit: cover;
	transition: opacity 0.2s ease;
}

.mwm-card-proyect:hover .mwm-card-proyect__image {
	opacity: 0.8;
}

.mwm-card-proyect__content {
	display: flex;
	align-self: stretch;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}

.mwm-card-proyect__title {
	align-self: stretch;
	color: #00303c;
	font-family: "Poppins", Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

.mwm-proyectos-archive {
	padding: 0 0 80px;
}

.site-main--proyectos-archive {
	padding-top: 40px;
}

.mwm-proyectos-archive__empty-message-wrap {
	max-width: calc(1104px + 32px);
	margin: 0 auto;
	padding-left: 16px;
	padding-right: 16px;
}

.mwm-proyectos-archive__empty-message {
	margin: 0;
	color: var(--mwm-blue);
	font-family: "Poppins", Arial, sans-serif;
	font-size: 16px;
	line-height: 24px;
}

.mwm-proyectos-archive__heading-wrap {
	padding: 0 1rem;
	max-width: calc(1104px + 2rem);
	margin: 0 auto;
	margin-bottom: 5rem;
}

.mwm-proyectos-archive__title {
	color: var(--mwm-blue);
	font-family: "Fraunces", serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 40px;
}

.mwm-proyectos-archive__description {
	margin: 16px 0 0;
	color: var(--mwm-blue);
	font-family: "Poppins", Arial, sans-serif;
	font-size: 16px;
	line-height: 24px;
}

.mwm-proyectos-archive__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem 1rem;
	padding-left: 56px;
	padding-right: 56px;
	max-width: calc(1328px + 112px);
	margin: 0 auto;
}

.mwm-proyectos-archive__actions {
	display: flex;
	justify-content: center;
	margin-top: 80px;
}

.mwm-proyectos-archive__pagination-btn-icon {
	display: inline-flex;
	width: 24px;
	height: 24px;
}

.mwm-proyectos-archive__pagination-btn-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.mwm-card-proyect.is-hidden {
	display: none;
}

.mwm-card-proyect__link {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	color: inherit;
	text-decoration: none;
}

.mwm-card-proyect__placeholder {
	align-self: stretch;
	width: 100%;
	height: 467px;
	background: #e7dccf;
}

.mwm-card-proyect__location {
	align-self: stretch;
	color: var(--mwm-color-brown);
	font-family: "Poppins", Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
}

.mwm-single-proyectos__header {
	padding: 40px 0;
}

.mwm-single-proyectos__header-inner {
	max-width: calc(1104px + 2rem);
	margin: 0 auto;
	padding: 0 1rem;
}

.mwm-single-proyectos__post-type {
	margin: 0 0 40px;
	color: var(--mwm-blue);
	font-family: "Fraunces", serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 40px;
}

.mwm-single-proyectos__title {
	margin: 0;
	color: var(--mwm-color-brown);
	font-family: "Fraunces", serif;
	font-size: 56px;
	font-weight: 700;
	line-height: 64px;
}

.mwm-single-proyectos__category {
	margin: 12px 0 0;
	color: var(--mwm-color-brown);
	font-family: "Poppins", Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	word-wrap: break-word;
}

@media (max-width: 991px) {
	.mwm-proyectos-archive {
		padding-bottom: 64px;
	}

	.mwm-proyectos-archive__actions {
		margin-top: 56px;
	}

	.mwm-single-proyectos__post-type {
		font-size: 32px;
		line-height: 40px;
	}

	.mwm-single-proyectos__title {
		font-size: 42px;
		line-height: 50px;
	}
}

@media (min-width: 768px) {
	.site-main--proyectos-archive {
		padding-top: 80px;
	}

	.mwm-single-proyectos__header {
		padding: 80px 0;
	}

	.mwm-single-proyectos__post-type {
		margin-bottom: 80px;
	}
}

@media (max-width: 767px) {
	.mwm-proyectos-archive {
		padding-bottom: 48px;
	}

	.mwm-proyectos-archive__heading-wrap {
		margin-bottom: 2.5rem;
	}

	.mwm-proyectos-archive__title {
		font-size: 28px;
		line-height: 34px;
	}

	.mwm-proyectos-archive__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.mwm-proyectos-archive__actions {
		margin-top: 40px;
	}

	.mwm-card-proyect__image,
	.mwm-card-proyect__placeholder {
		height: 320px;
	}

	.mwm-single-proyectos__header {
		padding: 40px 0 24px;
	}

	.mwm-single-proyectos__post-type {
		margin-bottom: 40px;
		font-size: 28px;
		line-height: 34px;
	}

	.mwm-single-proyectos__title {
		font-size: 34px;
		line-height: 42px;
	}
}
