/**
 * GEOCIKLO — Resumen Visual del Ecosistema
 * Stylesheet (GECS 1.1 Compliant - Modernized Arc Layout with Vector Ribbon & Glow)
 *
 * @package Geociklo\SiteSections
 */

:root {
	--gc-eco-primary: #3FAE6A;
	--gc-eco-primary-dark: #00875A;
	--gc-eco-title: #073F4D;
	--gc-eco-teal: #035877;
	--gc-eco-text-main: #073F4D;
	--gc-eco-text-muted: #52606D;
	--gc-eco-text-subhead: #435B62;
	--gc-eco-border: #E2E8F0;
	--gc-eco-bg-section: #FFFFFF;
	--gc-eco-bg-strip: #F8FAF9;
	--gc-eco-card-bg: rgba(255, 255, 255, 0.90);
}

/* ==========================================================================
   01. SECTION CONTAINER
   ========================================================================== */
.gc-ecosystem-section {
	position: relative;
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	margin-top: -2px;
	background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 70%, #FAFCFD 100%);
	padding: 90px 24px 105px 24px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--gc-eco-text-main);
	overflow: hidden;
	box-sizing: border-box;
	z-index: 10;
}

.gc-ecosystem-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 160px;
	background: linear-gradient(to bottom, #FFFFFF 0%, rgba(255, 255, 255, 0.85) 40%, rgba(255, 255, 255, 0) 100%);
	pointer-events: none;
	z-index: 1;
}

.gc-ecosystem-section::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 160px;
	background: linear-gradient(to top, #FAFCFD 0%, rgba(250, 252, 253, 0.85) 40%, rgba(255, 255, 255, 0) 100%);
	pointer-events: none;
	z-index: 1;
}

.gc-eco-container {
	max-width: 1380px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	position: relative;
	z-index: 2;
}

/* ==========================================================================
   02. BLOQUE A: NUESTRAS SOLUCIONES
   ========================================================================== */
.gc-eco-solutions-block {
	margin-bottom: 85px;
	position: relative;
}

.gc-eco-header {
	text-align: center;
	max-width: 780px;
	margin: 0 auto 36px auto;
	position: relative;
	z-index: 3;
}

.gc-eco-eyebrow-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #FFFFFF;
	border: 1px solid rgba(63, 174, 106, 0.40);
	padding: 5px 16px;
	border-radius: 9999px;
	margin-bottom: 16px;
	box-shadow: 0 4px 14px rgba(7, 63, 77, 0.04);
}

.gc-eco-eyebrow-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gc-eco-primary-dark);
	box-shadow: 0 0 8px rgba(0, 135, 90, 0.4);
}

.gc-eco-eyebrow-text {
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--gc-eco-primary-dark);
}

.gc-eco-headline {
	font-size: clamp(32px, 3.6vw, 46px);
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -0.035em;
	margin: 0 0 14px 0;
	color: var(--gc-eco-title);
	font-family: 'Inter Tight', sans-serif;
}

.gc-eco-subhead {
	font-family: 'Inter', sans-serif;
	font-size: clamp(15px, 1.15vw, 16.5px);
	font-weight: 500;
	line-height: 1.6;
	color: var(--gc-eco-text-subhead);
	margin: 0 auto;
	max-width: 760px;
}

/* Stage & Backdrop Art */
.gc-eco-cards-stage {
	position: relative;
	width: 100%;
}

.gc-eco-backdrop-art {
	position: absolute;
	top: -65px;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 1440px;
	height: 590px;
	pointer-events: none;
	z-index: 1;
	overflow: hidden;
}

.gc-eco-art-svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* 5 Solutions Cards Grid */
.gc-eco-cards-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 18px;
	align-items: stretch;
}

.gc-eco-card {
	background: rgba(255, 255, 255, 0.90);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1.5px solid rgba(255, 255, 255, 0.95);
	border-radius: 26px;
	box-shadow: 0 16px 36px -10px rgba(7, 63, 77, 0.07), 0 2px 6px rgba(0, 0, 0, 0.02);
	padding: 24px 18px 24px 18px;
	display: flex;
	flex-direction: column;
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
	box-sizing: border-box;
	position: relative;
}

.gc-eco-card:hover {
	box-shadow: 0 24px 50px -12px rgba(7, 63, 77, 0.14), 0 0 0 1.5px rgba(63, 174, 106, 0.35);
	border-color: rgba(63, 174, 106, 0.45);
}

.gc-eco-card-media {
	width: 100%;
	height: 145px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	overflow: visible;
	background: transparent;
	border-radius: 0;
}

.gc-eco-card-img {
	max-width: 95%;
	max-height: 140px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 10px 18px rgba(7, 63, 77, 0.10));
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.gc-eco-card:hover .gc-eco-card-img {
	transform: scale(1.08) translateY(-4px);
	filter: drop-shadow(0 14px 22px rgba(7, 63, 77, 0.16));
}

.gc-eco-card-body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.gc-eco-card-title {
	font-family: 'Inter Tight', sans-serif;
	font-size: 17px;
	font-weight: 900;
	color: var(--gc-eco-title);
	line-height: 1.25;
	letter-spacing: -0.025em;
	margin: 0 0 8px 0;
}

.gc-eco-card-desc {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: var(--gc-eco-text-muted);
	line-height: 1.5;
	margin: 0 0 18px 0;
	flex-grow: 1;
}

.gc-eco-card-cta-wrap {
	margin-top: auto;
}

.gc-eco-card-cta {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: 'Inter Tight', sans-serif;
	font-size: 13.5px;
	font-weight: 800;
	color: var(--gc-eco-title);
	text-decoration: none;
	transition: color 0.2s ease;
}

.gc-eco-cta-arrow {
	transition: transform 0.2s ease;
}

.gc-eco-card-cta:hover {
	color: var(--gc-eco-primary-dark);
}

.gc-eco-card-cta:hover .gc-eco-cta-arrow {
	transform: translateX(4px);
}

/* ==========================================================================
   03. BLOQUE B: CÓMO FUNCIONA (FRANJA HORIZONTAL COMPACTA)
   ========================================================================== */
.gc-eco-process-block {
	width: 100%;
	position: relative;
	z-index: 2;
}

.gc-eco-process-header {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 28px auto;
}

.gc-eco-process-title {
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 900;
	letter-spacing: -0.03em;
	color: var(--gc-eco-title);
	margin: 0 0 8px 0;
	font-family: 'Inter Tight', sans-serif;
}

.gc-eco-process-desc {
	font-family: 'Inter', sans-serif;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--gc-eco-text-muted);
	line-height: 1.55;
	margin: 0;
}

/* Strip Wrapper */
.gc-eco-process-strip {
	display: flex;
	align-items: stretch;
	gap: 12px;
	background: rgba(248, 250, 249, 0.60);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.70);
	border-radius: 20px;
	padding: 16px;
	box-shadow: 0 10px 30px -10px rgba(3, 88, 119, 0.05);
	box-sizing: border-box;
}

.gc-step-capsule {
	flex: 1;
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 14px;
	padding: 16px 14px;
	display: flex;
	flex-direction: column;
	transition: all 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
	box-sizing: border-box;
}

.gc-step-capsule:hover {
	background: rgba(255, 255, 255, 0.92);
	border-color: rgba(63, 174, 106, 0.45);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px -4px rgba(3, 88, 119, 0.08);
}

.gc-step-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.gc-step-badge {
	font-family: ui-monospace, SFMono-Regular, monospace;
	font-size: 11.5px;
	font-weight: 900;
	color: var(--gc-eco-primary-dark);
	background: rgba(63, 174, 106, 0.12);
	padding: 2px 7px;
	border-radius: 5px;
}

.gc-step-icon-wrap {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: #F0FDF4;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gc-step-body {
	flex-grow: 1;
}

.gc-step-title {
	font-size: 14px;
	font-weight: 900;
	color: var(--gc-eco-title);
	margin: 0 0 4px 0;
	letter-spacing: -0.01em;
	font-family: 'Inter Tight', sans-serif;
}

.gc-step-desc {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: var(--gc-eco-text-muted);
	line-height: 1.45;
	margin: 0;
}

.gc-step-connector {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 2px;
}

/* ==========================================================================
   04. STEPPED ARC ELEVATION & RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (min-width: 1080px) {
	.gc-eco-cards-grid {
		padding-top: 46px;
		padding-bottom: 24px;
	}

	.gc-eco-card[data-card-index="0"] {
		transform: translateY(22px);
	}
	.gc-eco-card[data-card-index="1"] {
		transform: translateY(-8px);
	}
	.gc-eco-card[data-card-index="2"] {
		transform: translateY(-38px);
		box-shadow: 0 24px 50px -10px rgba(7, 63, 77, 0.12), 0 4px 14px rgba(0, 0, 0, 0.02);
		z-index: 3;
	}
	.gc-eco-card[data-card-index="3"] {
		transform: translateY(-8px);
	}
	.gc-eco-card[data-card-index="4"] {
		transform: translateY(22px);
	}

	/* Hover preserves relative elevation while lifting smoothly */
	.gc-eco-card[data-card-index="0"]:hover {
		transform: translateY(12px) scale(1.015);
	}
	.gc-eco-card[data-card-index="1"]:hover {
		transform: translateY(-18px) scale(1.015);
	}
	.gc-eco-card[data-card-index="2"]:hover {
		transform: translateY(-48px) scale(1.015);
	}
	.gc-eco-card[data-card-index="3"]:hover {
		transform: translateY(-18px) scale(1.015);
	}
	.gc-eco-card[data-card-index="4"]:hover {
		transform: translateY(12px) scale(1.015);
	}
}

@media (max-width: 1079px) and (min-width: 861px) {
	.gc-eco-cards-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 16px;
	}

	.gc-eco-backdrop-art {
		opacity: 0.6;
	}
}

@media (max-width: 860px) {
	.gc-eco-backdrop-art {
		display: none;
	}

	.gc-eco-cards-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.gc-eco-process-strip {
		flex-direction: column;
		gap: 10px;
		padding: 12px;
	}

	.gc-step-connector {
		transform: rotate(90deg);
		padding: 2px 0;
	}
}

@media (max-width: 600px) {
	.gc-ecosystem-section {
		padding: 60px 16px 70px 16px;
	}

	.gc-eco-cards-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.gc-eco-card {
		padding: 22px 18px;
	}

	.gc-eco-card-media {
		height: 180px;
	}

	.gc-step-capsule {
		padding: 14px 12px;
	}
}
