/*
 * Momentum — Home page layout.
 * Enqueued only on the front page (see inc/enqueue.php).
 */

.momentum-hero {
	position: relative;
	background:
		linear-gradient(160deg, rgba(17, 17, 17, 0.28) 0%, rgba(45, 45, 45, 0.2) 100%),
		url('../images/fondo.jpg') center / cover no-repeat;
	color: var(--momentum-white);
	padding-block: 100px 56px;
	overflow: hidden;
}

.momentum-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(160deg, rgba(17, 17, 17, 0.3) 0%, rgba(45, 45, 45, 0.25) 100%);
	pointer-events: none;
}

.momentum-hero > .momentum-container {
	position: relative;
	z-index: 1;
}

.momentum-hero__content {
	max-width: 640px;
}

.momentum-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--momentum-accent);
	margin-bottom: 20px;
}

.momentum-hero__eyebrow::before {
	content: "";
	width: 28px;
	height: 1.5px;
	background: var(--momentum-accent);
}

.momentum-hero h1 {
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 700;
	line-height: 1.18;
	margin: 0 0 18px;
	color: var(--momentum-white);
}

.momentum-hero__content p {
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.8);
	margin: 0 0 28px;
	max-width: 50ch;
}

.momentum-hero__features {
	display: flex;
	flex-wrap: wrap;
	gap: 28px 40px;
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.momentum-hero__feature {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--momentum-white);
	font-size: 13.5px;
	font-weight: 600;
}

.momentum-hero__feature svg {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	color: var(--momentum-accent);
}

@media (max-width: 680px) {
	.momentum-hero {
		padding-block: 80px 48px;
	}

	.momentum-hero__features {
		gap: 18px;
	}
}

/* ---------- Sobre Momentum Cocoyoc ---------- */

.momentum-about {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: 56px;
}

.momentum-about h2 {
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 20px;
	color: var(--momentum-black);
}

.momentum-about__content p {
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--momentum-gray-dark);
	margin: 0 0 18px;
}

.momentum-about__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 32px;
	margin-top: 28px;
}

.momentum-about__stat {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	color: var(--momentum-gray-dark);
}

.momentum-about__stat svg {
	flex-shrink: 0;
	color: var(--momentum-accent);
}

.momentum-about__stat strong {
	color: var(--momentum-black);
	font-weight: 700;
	margin-right: 3px;
}

.momentum-about__media img {
	width: 100%;
	aspect-ratio: 4 / 3.4;
	object-fit: cover;
	display: block;
	border-radius: var(--momentum-radius);
	box-shadow: var(--momentum-shadow);
}

@media (max-width: 900px) {
	.momentum-about {
		grid-template-columns: 1fr;
	}

	.momentum-about__media {
		order: -1;
	}
}

/* ---------- FAQ ---------- */

.momentum-faq {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 24px;
}

.momentum-faq__item {
	border: 1px solid var(--momentum-border);
	border-radius: var(--momentum-radius-sm);
	padding: 18px 22px;
}

.momentum-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	list-style: none;
	cursor: pointer;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--momentum-black);
}

.momentum-faq__item summary::-webkit-details-marker {
	display: none;
}

.momentum-faq__toggle {
	position: relative;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}

.momentum-faq__toggle::before,
.momentum-faq__toggle::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	background: var(--momentum-accent);
	transform: translate(-50%, -50%);
	transition: transform .2s ease;
}

.momentum-faq__toggle::before {
	width: 14px;
	height: 2px;
}

.momentum-faq__toggle::after {
	width: 2px;
	height: 14px;
}

.momentum-faq__item[open] .momentum-faq__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
	opacity: 0;
}

.momentum-faq__item p {
	margin: 14px 0 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--momentum-text-muted);
}

@media (max-width: 680px) {
	.momentum-faq {
		grid-template-columns: 1fr;
	}
}

/* ---------- CTA banner ---------- */

.momentum-cta-banner {
	background: #07100d;
	color: var(--momentum-white);
	border-radius: var(--momentum-radius);
	padding: 64px 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.momentum-cta-banner__content {
	display: flex;
	align-items: center;
	gap: 20px;
}

.momentum-cta-banner__icon {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--momentum-accent);
	color: var(--momentum-black);
	display: flex;
	align-items: center;
	justify-content: center;
}

.momentum-cta-banner__icon svg {
	width: 24px;
	height: 24px;
}

.momentum-cta-banner__content h2 {
	font-size: clamp(22px, 2.6vw, 26px);
	font-weight: 700;
	margin: 0 0 6px;
	color: var(--momentum-white);
}

.momentum-cta-banner__content p {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	max-width: 50ch;
	line-height: 1.6;
}

@media (max-width: 680px) {
	.momentum-cta-banner {
		padding: 40px 28px;
		text-align: center;
		justify-content: center;
	}

	.momentum-cta-banner__content {
		flex-direction: column;
	}
}
