/* -------------------------------------------------------------------------
   Home · Hero
   ------------------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: 720px;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-color: var(--color-dark);
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: var(--color-dark);
	mix-blend-mode: multiply;
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	padding-block: 160px 64px;
	text-align: center;
}

.hero__text h1 {
	color: var(--color-white);
	margin-bottom: 24px;
}

.hero__subtitle {
	color: var(--color-white);
	font-weight: 600;
	font-size: var(--fs-h4);
	line-height: var(--lh-h4);
	margin: 0;
}

.hero__tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.hero__tags li {
	background: rgba(162, 163, 154, 0.65);
	color: var(--color-white);
	font-weight: 700;
	font-size: var(--fs-small);
	padding: 8px 42px;
	border-radius: var(--radius-pill);
}

.hero__tags li.is-active {
	background: var(--color-primary);
}

/* -------------------------------------------------------------------------
   Franja de beneficios
   ------------------------------------------------------------------------- */
.benefits {
	background: var(--color-primary);
}

.benefits__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	padding-block: 32px;
	flex-wrap: wrap;
}

.benefits__item {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1 0 0;
	justify-content: center;
	color: var(--color-white);
	text-align: left;
}

.benefits__item img {
	filter: brightness(0) invert(1);
	flex-shrink: 0;
}

.benefits__item p {
	margin: 0;
	font-weight: 600;
	font-size: var(--fs-h4);
	line-height: var(--lh-h4);
}

.benefits__divider {
	width: 1px;
	height: 60px;
	background: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {
	.benefits__divider {
		display: none;
	}
	.benefits__item {
		flex: 1 1 100%;
	}
}

/* -------------------------------------------------------------------------
   Quiénes somos (teaser)
   ------------------------------------------------------------------------- */
.about-teaser__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 64px;
}

.about-teaser__media img {
	width: 100%;
	border-radius: 4px;
	box-shadow: var(--shadow-box);
}

.about-teaser__text .btn {
	margin-top: 24px;
}

.rotate-left {
	transform: rotate(90deg);
}

.rotate-right {
	transform: rotate(-90deg);
}

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

/* -------------------------------------------------------------------------
   Sección genérica de encabezado (Productos / Proyectos)
   ------------------------------------------------------------------------- */
.section-heading {
	max-width: 760px;
	margin-bottom: 52px;
}

.section-heading--center {
	margin-inline: auto;
	text-align: center;
}

.section-heading h2 {
	margin-bottom: 18px;
}

/* -------------------------------------------------------------------------
   Productos
   ------------------------------------------------------------------------- */
.products__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}

.product-card {
	display: flex;
	background: var(--color-white);
	color: inherit;
}

.product-card__media {
	width: 126px;
	flex-shrink: 0;
}

.product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-card__body {
	flex: 1;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.product-card__heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.product-card__heading h4 {
	margin: 0;
}

.product-card--highlight {
	border: 1px solid var(--color-primary);
	box-shadow: var(--shadow-box);
}

.product-card--highlight .product-card__heading h4 {
	color: var(--color-primary);
}

@media (max-width: 900px) {
	.products__grid {
		grid-template-columns: 1fr;
	}
	.product-card {
		flex-direction: column;
	}
	.product-card__media {
		width: 100%;
		height: 180px;
	}
}

/* -------------------------------------------------------------------------
   Proyectos
   ------------------------------------------------------------------------- */
.projects__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.projects__nav {
	display: flex;
	gap: 8px;
}

.projects__nav-btn {
	width: 60px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-white);
	border: 1px solid var(--color-dark);
}

.projects__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.project-card {
	background: var(--color-white);
	box-shadow: var(--shadow-box);
	display: flex;
	flex-direction: column;
}

.project-card__media {
	height: 300px;
}

.project-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-card__body {
	padding: 24px 32px 48px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.project-card__body h4 {
	margin: 0;
}

.project-card__location {
	margin: 0;
	color: var(--color-primary);
	font-size: var(--fs-small);
}

.project-card__body p:not(.project-card__location) {
	flex: 1;
}

.project-card .btn {
	align-self: flex-start;
	margin-top: 8px;
}

@media (max-width: 1100px) {
	.projects__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 700px) {
	.projects__header {
		flex-direction: column;
		align-items: flex-start;
	}
	.projects__grid {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 85%;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 8px;
	}
	.project-card {
		scroll-snap-align: start;
	}
}

/* -------------------------------------------------------------------------
   CTA final
   ------------------------------------------------------------------------- */
.cta-banner {
	position: relative;
	background-size: cover;
	background-position: center;
	padding-block: 140px;
}

.cta-banner__box {
	max-width: 660px;
	background: rgba(211, 18, 35, 0.85);
	color: var(--color-white);
	padding: 50px;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.cta-banner__box h2 {
	color: var(--color-white);
	font-size: var(--fs-h2);
}

.cta-banner__box h3 {
	color: var(--color-white);
	font-weight: 400;
	font-size: var(--fs-h3);
}

.eyebrow--white {
	border-color: var(--color-white);
	color: var(--color-white);
}

.cta-banner .btn {
	margin-top: 46px;
	align-self: flex-start;
}

@media (max-width: 700px) {
	.cta-banner__box {
		padding: 32px;
	}
}
