:root {
	--main-color-1: hsl(0, 0%, 0%);
	--main-color-2: hsl(0, 0%, 7%);
	--main-color-3: hsl(0, 0%, 14%);
	--main-color-4: hsl(0, 0%, 21%);
	--main-color-5: hsl(0, 0%, 28%);
	--text-color: hsl(0, 0%, 100%);
	--accent-color-1: hsl(40, 100%, 50%);
	--accent-color-2: hsl(350, 84%, 65%);
	--accent-color-3: hsl(298, 86%, 48%);

	--mid-gray: #808080;

	--emp-color-yellow: #FFCC00;
	--emp-color-yellow-dark: #524100;
	--emp-color-red: #FF3333;
	--emp-color-red-dark: #520000;
	--emp-color-blue: #00C0E8;
	--emp-color-blue-dark: #004452;
}

html {
	font-family: 'DM Sans', Helvetica, Arial sans-serif;
	/*font-size: 16px;*/
	font-size: clamp(10px, 1vw, 16px);
	line-height: 1.3;
	font-weight: 500;
	color: var(--text-color);
}

body { background: var(--main-color-1); }

* {
	box-sizing: border-box;
	transition-property: color, transform, background, opacity, fill;
	transition-duration: 150ms;
	transition-timing-function: ease-out;
}

button, .button { cursor: pointer; }

a { position: relative; color: var(--text-color); }

a:hover { color: var(--accent-color-1); }

a::after {
	content: '';
	position: absolute;
	inset: 0px;
	border-bottom: 2px solid var(--accent-color-1);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 200ms ease-out;
}

a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.svg-link::after { display: none; }

/* --- ALERTS --- */
.alert {
	position: relative;
	max-width: 1100px;
	margin: 1rem auto;
	padding: 1rem 1.25rem;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(6px);
	transition: opacity 300ms ease, transform 300ms ease;
}
.alert.error { background: rgba(248, 113, 113, 0.12); border-color: rgba(248, 113, 113, 0.4); color: #fecdd3; }
.alert.notice { background: rgba(56, 189, 248, 0.12); border-color: rgba(56, 189, 248, 0.4); color: #7dd3fc; }
.alert-hide { opacity: 0; transform: translateY(-8px); }

.form-status {
	min-height: 1.25rem;
	text-align: center;
	font-size: 0.95rem;
	color: var(--mid-gray);
}
.form-status.success { color: hsl(120, 100%, 70%); }
.form-status.error { color: hsl(0, 100%, 70%); }
.form-status.pending { color: #eab308; }

/* --- NAVBAR STYLE */
nav {
	width: 100%;
	padding: 2rem 4rem;
	font-size: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: sticky;
	top: 0px;
	z-index: 99;
	background: linear-gradient(0deg, transparent, var(--main-color-1));
}

#nav-links {
	display: flex;
	gap: 2.5rem;
}
#nav-links a { text-decoration: none; }
#nav-logo {
	height: 3rem;
}

section {
	width: 100%;
	padding: 8rem;
}

.container {
	padding: 2.5rem 3rem;
	margin: 2rem 2rem 0rem;
	border-radius: 2rem;
	background: var(--main-color-2);
}

.content-center {
	display: grid;
	place-items: center;
}

h1, .h1 {
	font-size: 3rem;
	font-weight: 900;
}

h2, .h2 {
	font-size: 2rem;
	font-weight: 700;
}

h3, .h3 {
	font-size: 1.5rem;
	font-weight: 700;
}

h4, .h4 {
	font-size: 1.5rem;
	font-weight: 700;
}

h5, .h5 {
	font-size: 1.25rem;
	color: var(--mid-gray);
	font-weight: 500;
}

.lp-text-box { max-width: calc((100vw - 28rem) * 0.6); font-size: 1.5rem; }

.headline {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center;
	line-height: 1;
	text-align: center;
}

#userImg {
	width: 2.5rem;
	height: 2.5rem;
	position: relative;
	background: var(--mid-gray);
	border-radius: 50%;
}
#userImg::after {
	content: '';
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: greenyellow;
	position: absolute;
	border: 2px solid var(--main-color-1);
	right: 0px;
	bottom: 0px;
}
#userImg img { width: 100%; object-fit: fill; object-position: center; border-radius: 50%; }

.headline-yellow, .headline-red, .headline-blue {
	position: relative;
}
.headline-yellow::before,
.headline-red::before,
.headline-blue::before {
	content: '';
	position: absolute;
	inset: -.1rem -.5rem;
	z-index: -1;
	border-radius: .625rem;
}

.headline-yellow { color: var(--emp-color-yellow-dark); }
.headline-red { color: var(--emp-color-red-dark); }
.headline-blue { color: var(--emp-color-blue-dark); }
.headline-yellow::before { background: var(--emp-color-yellow); }
.headline-red::before { background: var(--emp-color-red); }
.headline-blue::before { background: var(--emp-color-blue); }

.metric-box {
	padding: 1rem 2rem;
	border: 2px solid var(--main-color-2);
	border-radius: 1rem;
	flex: 1;
	display: grid;
	place-items: center;
	background: var(--box-color);
}

.color-yellow { color: var(--emp-color-yellow); }
.color-red { color: var(--emp-color-red); }
.color-blue { color: var(--emp-color-blue); }
.color-dim { color: var(--mid-gray); }

.bt-CTA, .bt-main {
	/*width: 100%;
	max-width: 30rem;*/
	width: 30rem;
	max-width: 100%;
	height: 3.5rem;
	border-radius: 999px;
	background: linear-gradient(
		20deg,
		var(--accent-color-3) 10%,
		var(--accent-color-1) 45%,
		var(--accent-color-1) 55%,
		var(--accent-color-3) 90%
	);

	background-size: 200% 200%;
	background-position: left center;
	font-weight: 700;
	font-size: 1.25rem;
	transition-property: background-position, box-shadow;
	transition-duration: 800ms;
	transition-timing-function: ease-out;
	box-shadow: 0px 16px 32px 8px rgba(253, 120, 4, .20);
}

.bt-main-dim {
	width: 30rem;
	max-width: 100%;
	height: 3.5rem;
	border: 2px solid var(--main-color-4);
	border-radius: 999px;
	background: var(--main-color-3);
	font-weight: 700;
	font-size: 1.25rem;
}

.bt-slim {
	max-width: 100%;
	padding: .5rem 3rem;
	border-radius: 999px;
	background: var(--main-color-3);
	font-weight: 500;
}

.bt-main-dim:hover, .bt-slim:hover {
	background: var(--main-color-4);
}
.bt-small { width: 20rem; height: 2.75rem; font-size: 1.25rem; font-weight: 500; }

.bt-CTA:hover, .bt-main:hover {
	background-position: right center;
	box-shadow: 0px 16px 32px 8px rgba(253, 4, 207, .20);
}

.social_icon {
	width: 2rem;
	aspect-ratio: 1/1;
	fill: var(--text-color);
}
.social_icon:hover {
	fill: var(--accent-color-1)
}

#desktop-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
}
#mobile-footer { display: none; }

footer {
	padding: 5rem;
	background: var(--main-color-2);
}

.metrics {
	min-width: 60%;
	margin-top: 4rem;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.objectives {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 30rem));
	place-items: center;
	row-gap: 5rem;
	column-gap: 10rem;
}

.objective {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: start;
}

.objective:last-child {
	grid-column: span 2;
	max-width: 45rem;
}

.metric-box > p:first-child {
	font-size: 1.5rem;
}
.metric-box > p:last-child {
	font-size: .875rem;
}
.imgSection {
	display: flex;
	gap: 8rem;
}
.imgDiv {
	width: 40%;
	aspect-ratio: 1/1;
	overflow: hidden;
}
.img-div-title { margin-top: 2rem; }

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type='number'] {
	appearance: textfield;
	-moz-appearance: textfield;
}

input, select {
	width: 100%;
	max-width: 30rem;
	padding: 4px;
	border: 0px;
	border-radius: 0px;
	border-bottom: 2px solid var(--text-color);
	outline: none;
	background: transparent;
	box-shadow: none;
	transition: all .15s ease-out;
}

input[type='checkbox'] { min-width: 8px; width: 100%; max-width: 14px; }
textarea { border: 2px solid var(--text-color); border-radius: .5rem; }

select > option {
	background: var(--main-color-2);
}

#contactsP {
	font-size: clamp(2rem, 6vw, 8rem);
}

.agendar-closed {
	opacity: 0;
	z-index: -99;
	pointer-events: none;
	user-select: none;
}

#agendar_wrapper {
	padding: 2rem;
	border-radius: 1rem;
	position: absolute;
	background: hsla(0, 0%, 7%, 0.75);
	backdrop-filter: blur(8px);
	transform: translateX(-50%);
}

.plan-box {
	width: 30rem;
	min-height: 40rem;
	padding: 3rem 3.5rem;
	border-radius: 2rem;
	background: var(--main-color-2);
	border: 4px solid var(--main-color-3);
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.plan-box.destacado {
	border-radius: calc(2rem - 4px);
	border: none;
	position: relative;
}

.plan-box.destacado::after {
	content: '';
	position: absolute;
	inset: -4px;
	background: linear-gradient(
		20deg,
		var(--accent-color-3) 0%,
		var(--accent-color-1) 100%
	);
	z-index: -1;
	border-radius: 2rem;
}

.plan-box.destacado h3 {
	color: var(--accent-color-1);
}

/*.form-status {
	position: absolute;
	inset: 0px;
}*/

.clickable {
	color: var(--accent-color-1);
	cursor: pointer;
}
.clickable:hover {
	text-decoration: underline;
}

@media (max-width: 767px), (max-aspect-ratio: 1/1) {
	html { font-size: clamp(10px, .8vw, 14px); }
	nav { padding: 2rem 3em; }
	#nav-links {
		width: 100%;
		height: 100dvh;
		position: absolute;
		inset: 0px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3rem;
		font-size: 3rem;
		background: var(--main-color-1);
	}
	#nav-links:not(.open) {
		pointer-events: none;
		user-select: none;
		opacity: 0;
		z-index: -99;
	}
	#nav-links.open { opacity: 1; z-index: 99; }
	.nav-link { opacity: 0; transform: translateY(-100%); }
	.nav-link.visible { opacity: 1; transform: translateY(0%); }
	.nav-link::after { display: none; }
	#closeNavBt {
		display: block;
		position: absolute;
		top: 1.5rem;
		right: 3rem;
	}
	#mobile-footer { display: flex; }
	#desktop-footer { display: none; }
	.contactsImg { display: none }
	.metric-box > p:first-child { font-size: 1.25rem; }
	.metric-box > p:last-child { font-size: 1rem; }

	.bt-CTA, .bt-main {
		width: 60%;
		height: 4.5rem;
		font-size: 1.75rem;
		box-shadow: 0px 8px 16px 4px rgba(253, 120, 4, .20);
	}
	.bt-CTA:hover, .bt-main:hover {
		box-shadow: 0px 8px 16px 4px rgba(253, 4, 207, .20);
	}
	.sep-dot { display: none; }
	.headline {
		flex-direction: column;
		line-height: 1.5;
		align-items: center;
	}
	.punchline { font-size: 2rem; margin-top: 1rem; }
	section { padding: 4rem 2rem; }
	.metrics {
		grid-template-columns: 1fr;
		width: 30rem;
		max-width: 100%;
	}
	.objectives { grid-template-columns: 1fr; gap: 6rem; place-items: center; }
	.objective:last-child { grid-column: span 1; max-width: fit-content; }
	.objective { align-items: center; text-align: center; width: 60%; }
	.imgSection {
		min-height: 0px;
		padding: 0px;
		flex-direction: column;
		gap: 0px;
	}
	.imgDiv {
		width: 100%;
	}
	.imgSection .bt-CTA {
		align-self: center;
	}
	.img-div-text { padding: 0rem 1rem; }
	.img-div-title { margin-top: 2rem; }
	.lp-text-box { max-width: 100%; }
	.contactsImg { display: none }
}
@media (max-width: 639px) {
	html { font-size: clamp(10px, .75vw, 14px); }
	.bt-CTA, .bt-main {
		width: 100%;
		max-width: 50rem;
	}
	#mobile-footer { display: grid; grid-template-columns: 1fr 1fr; }
}
