/*--------------------------------------------------*/
/* MANSION.CSS — mejoras 2026 (video hero, form,    */
/* WhatsApp, gracias). Se carga después del resto.  */
/*--------------------------------------------------*/


/*-- HERO: VIDEO DE FONDO + VIÑETA --*/

#home {
	position: relative;
	overflow: hidden;
}

.hero-video {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
}

.hero-vignette {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 78%, rgba(0,0,0,0.72) 100%),
		linear-gradient(rgba(0,0,0,0.18), rgba(0,0,0,0.18));
}

#home .container,
#home #homepage_logo {
	position: relative;
	z-index: 2;
}


/*-- SEO: los títulos de Mapping/Circus pasaron de h1 a h2
     manteniendo el estilo del h1 del template --*/

#homepage_content_slogan .slogan-h1 {
	margin-bottom: 1.1rem;
	font-size: 5.5rem;
	line-height: 6.5rem;
	color: white;
}


/*-- FORM DE CONTACTO (reemplaza iframe Zoho) --*/
/*   .mf-form se comparte con el form del modal de WhatsApp (.wa-form) --*/

.mf-form {
	text-align: left;
	max-width: 36rem;
	margin-left: auto;   /* la columna del contacto alinea a la derecha */
	padding-top: 0.5rem;
}

.mf-form label {
	display: block;
	margin-bottom: 0.9rem;
	font-family: 'nunito_sans';
	font-weight: normal;
}

.mf-form label > span {
	display: block;
	font-size: 0.65rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #d7d7d7;
	margin-bottom: 0.1rem;
}

.mf-form input,
.mf-form textarea,
.mf-form select {
	width: 100%;
	margin-bottom: 0;
	padding: 0.3rem 0.2rem;
	background: transparent;
	color: #ffffff;
	border: none;
	border-bottom: solid 2px #ffffff;
	border-radius: 0;
	font-family: 'source_serif_proregular', serif;
	font-size: 1.05rem;
	line-height: 1.5rem;
	-webkit-appearance: none;
	appearance: none;
}

.mf-form select {
	cursor: pointer;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='2' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.4rem center;
}

.mf-form select option {
	color: #2a2d2e;
	background: #ffffff;
}

.mf-form input:focus,
.mf-form textarea:focus,
.mf-form select:focus {
	outline: none;
	border-bottom-color: #cf44e0;
}

.mf-form input[type="date"] {
	min-height: 2.2rem;
}

.mf-form input[type="date"]::-webkit-calendar-picker-indicator {
	filter: invert(1);
	cursor: pointer;
}

.mf-form ::placeholder {
	color: rgba(255,255,255,0.35);
}

.mf-form textarea {
	resize: vertical;
}

.mf-row {
	display: flex;
	gap: 1.2rem;
}

.mf-row > label { flex: 1; min-width: 0; }

.mf-tel {
	display: flex;
	align-items: stretch;
	gap: 0.5rem;
}

.mf-tel-prefix {
	font-family: 'source_serif_proregular', serif;
	font-size: 1.05rem;
	color: #d7d7d7;
	border-bottom: solid 2px #ffffff;
	padding: 0.3rem 0.2rem;
	white-space: nowrap;
}

.mf-tel input { flex: 1; }

.mf-help {
	display: block;
	font-size: 0.65rem;
	color: rgba(255,255,255,0.5);
	margin-top: 0.25rem;
}

.mf-submit {
	display: inline-block;
	font-family: 'familiar_probold', sans-serif;
	text-transform: uppercase;
	font-size: 0.9rem;
	letter-spacing: 0.05em;
	color: #ffffff;
	background: transparent;
	border: solid 2px #ffffff;
	padding: 0.95rem 1.8rem;
	margin-top: 0.3rem;
	cursor: pointer;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.mf-submit:hover,
.mf-submit:focus {
	background: #cf44e0;
	border-color: #cf44e0;
	outline: none;
}

.mf-submit[disabled] {
	opacity: 0.6;
	cursor: wait;
}

.mf-honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

@media (max-width: 767px) {
	.mf-form { max-width: none; }
	.mf-row { display: block; }
	.mf-row > label { margin-bottom: 0.9rem; }
}


/*-- MODAL PRE-FORM DE WHATSAPP (como fieston-corporativo) --*/

.wa-modal {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	z-index: 3000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.wa-modal[hidden] { display: none; }

.wa-modal-overlay {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0,0,0,0.75);
}

.wa-modal-panel {
	position: relative;
	background: #2a2d2e;
	border: solid 1px rgba(255,255,255,0.18);
	box-shadow: 0 20px 60px rgba(0,0,0,0.5);
	width: 100%;
	max-width: 26rem;
	max-height: 92vh;
	overflow-y: auto;
	padding: 1.8rem 1.8rem 1.6rem;
}

.wa-modal-close {
	position: absolute;
	top: 0.8rem; right: 0.8rem;
	background: transparent;
	border: none;
	color: #d7d7d7;
	cursor: pointer;
	padding: 0.4rem;
	line-height: 0;
}

.wa-modal-close:hover { color: #cf44e0; }

.wa-modal-header {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-bottom: 1.2rem;
}

.wa-modal-header-icon {
	flex: none;
	width: 2.6rem;
	height: 2.6rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #25d366;
	color: #ffffff;
	border-radius: 50%;
}

.wa-modal-header-icon svg {
	width: 1.5rem;
	height: 1.5rem;
}

.wa-modal-header h3 {
	font-family: 'nunito_sans';
	text-transform: none;
	font-size: 1rem;
	line-height: 1.4rem;
	color: #ffffff;
	margin: 0;
}

/* el form del modal reutiliza .mf-form; acá solo ajustes */
.wa-modal .mf-form {
	max-width: none;
	margin-left: 0;
	padding-top: 0;
}

.wa-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	font-family: 'familiar_probold', sans-serif;
	text-transform: uppercase;
	font-size: 0.9rem;
	letter-spacing: 0.05em;
	color: #ffffff;
	background: #25d366;
	border: solid 2px #25d366;
	padding: 0.95rem 1rem;
	margin-top: 0.4rem;
	cursor: pointer;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.wa-submit svg { width: 1.2rem; height: 1.2rem; flex: none; }

.wa-submit:hover,
.wa-submit:focus {
	background: #1fb457;
	border-color: #1fb457;
	outline: none;
}

.wa-submit[disabled] {
	opacity: 0.6;
	cursor: wait;
}

body.wa-modal-open { overflow: hidden; }


/*-- WHATSAPP FLOTANTE (SVG propio, sin Font Awesome) --*/

.float {
	position: fixed;
	right: 1.4rem;
	bottom: 5.6rem;   /* deja lugar al chat de SalesIQ */
	z-index: 999;
	width: 3.6rem;
	height: 3.6rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #25d366;
	color: #ffffff;
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(0,0,0,0.35);
	-webkit-transition: transform 0.2s ease-in-out;
	transition: transform 0.2s ease-in-out;
}

.float:hover {
	transform: scale(1.08);
	color: #ffffff;
}

.float svg {
	width: 2rem;
	height: 2rem;
	display: block;
}
