/**
 * GEOCIKLO — Nuestra Historia (Story Experience)
 * Full-Width Video Background with Seamless Top & Bottom Blends (GECS 1.1 Compliant)
 *
 * @package Geociklo\SiteSections
 */

:root {
	--gc-story-text-dark: #073F4D;
	--gc-story-accent-green: #3FAE6A;
	--gc-story-accent-green-soft: #F0FDF4;
	--gc-story-accent-green-border: #DCFCE7;
	--gc-story-dark-card-bg: linear-gradient(135deg, #033948 0%, #064E59 100%);
	--gc-story-text-muted: #64748B;
	--gc-story-card-border: #E2E8F0;
	--gc-story-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   01. SECTION CONTAINER & FULL-WIDTH BACKGROUND VIDEO
   ========================================================================== */
.gc-story-section-clean {
	position: relative;
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	background: #FAFCFD;
	padding: 90px 24px 80px 24px;
	font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	box-sizing: border-box;
	overflow: hidden;
}

/* Full-Width Video Background Layer */
.gc-story-hero-bg-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 740px;
	overflow: hidden;
	pointer-events: none;
	z-index: 1;
}

.gc-story-hero-bg-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
	display: block;
}

/* Seamless Gradient Fades (Top to blend with #FFFFFF / above section, Bottom to blend with #FAFCFD) */
.gc-story-hero-fade {
	position: absolute;
	left: 0;
	width: 100%;
	pointer-events: none;
	z-index: 2;
}

.gc-fade-top {
	top: 0;
	height: 160px;
	background: linear-gradient(to bottom, #FAFCFD 0%, rgba(250, 252, 253, 0.85) 35%, rgba(250, 252, 253, 0) 100%);
}

.gc-fade-bottom {
	bottom: 0;
	height: 200px;
	background: linear-gradient(to top, #FAFCFD 0%, rgba(250, 252, 253, 0.9) 35%, rgba(250, 252, 253, 0) 100%);
}

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

/* Content Container on top of Video */
.gc-story-clean-container {
	position: relative;
	z-index: 5;
	max-width: 1380px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

/* ==========================================================================
   02. TOP HERO SPLIT (LEFT COPY + RIGHT FLOATING GLASS BADGES)
   ========================================================================== */
.gc-story-top-hero-grid {
	display: grid;
	grid-template-columns: 52% 48%;
	gap: 40px;
	align-items: center;
	margin-bottom: 50px;
	min-height: 480px;
}

/* Eyebrow Badge */
.gc-story-clean-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: var(--gc-story-accent-green-soft);
	border: 1px solid var(--gc-story-accent-green-border);
	padding: 5px 14px;
	border-radius: 9999px;
	margin-bottom: 18px;
}

.gc-story-clean-badge-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gc-story-accent-green);
	box-shadow: 0 0 6px var(--gc-story-accent-green);
}

.gc-story-clean-badge-text {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: #166534;
	text-transform: lowercase;
}

/* Headline */
.gc-story-clean-headline {
	font-size: clamp(32px, 3.4vw, 46px);
	font-weight: 900;
	line-height: 1.14;
	letter-spacing: -0.035em;
	margin: 0 0 16px 0;
	font-family: 'Inter Tight', sans-serif;
}

.gc-headline-dark {
	color: var(--gc-story-text-dark);
	display: block;
}

.gc-headline-green {
	color: var(--gc-story-accent-green);
	display: block;
}

/* Subtitle */
.gc-story-clean-subtitle {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--gc-story-text-muted);
	margin: 0 0 28px 0;
	max-width: 580px;
}

/* Dark Horizontal Statement Card */
.gc-story-dark-stmt-card {
	background: linear-gradient(135deg, rgba(7, 63, 77, 0.95) 0%, rgba(6, 96, 92, 0.92) 100%);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 20px;
	padding: 28px 32px;
	display: flex;
	align-items: center;
	gap: 28px;
	box-shadow: 0 16px 36px rgba(3, 57, 72, 0.2);
	box-sizing: border-box;
}

.gc-stmt-card-left {
	flex-shrink: 0;
}

.gc-stmt-card-title {
	font-size: 23px;
	font-weight: 900;
	color: #FFFFFF;
	margin: 0;
	line-height: 1.15;
	font-family: 'Inter Tight', sans-serif;
	letter-spacing: -0.02em;
}

.gc-stmt-card-accent {
	font-size: 23px;
	font-weight: 900;
	color: var(--gc-story-accent-green);
	margin-top: 2px;
	line-height: 1.15;
	font-family: 'Inter Tight', sans-serif;
	letter-spacing: -0.02em;
}

.gc-stmt-card-divider {
	width: 1px;
	height: 64px;
	background: rgba(255, 255, 255, 0.16);
	flex-shrink: 0;
}

.gc-stmt-card-right {
	flex-grow: 1;
}

.gc-stmt-card-p {
	font-size: 12.5px;
	line-height: 1.55;
	color: #E2E8F0;
	margin: 0 0 6px 0;
}

.gc-stmt-card-p:last-child {
	margin-bottom: 0;
}

/* Right Column: Globe Scene with Floating Glass Capsules */
.gc-story-right-col {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	min-height: 480px;
}

.gc-globe-scene-container {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 480px;
	background: transparent;
}

/* Floating Glass Capsules */
.gc-globe-float-badge {
	position: absolute;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 10px 18px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.85);
	box-shadow: 0 12px 28px rgba(3, 88, 119, 0.08);
	max-width: 290px;
	box-sizing: border-box;
}

.gc-float-badge-top {
	top: 24px;
	left: 10px;
}

.gc-float-badge-bottom {
	bottom: 36px;
	right: 10px;
}

.gc-float-badge-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #FFFFFF;
}

.gc-icon-teal {
	background: #064E59;
}

.gc-icon-green {
	background: var(--gc-story-accent-green);
}

.gc-float-badge-text {
	font-size: 12px;
	font-weight: 700;
	color: var(--gc-story-text-dark);
	line-height: 1.35;
	font-family: 'Inter Tight', sans-serif;
}

/* ==========================================================================
   03. MIDDLE HORIZONTAL TIMELINE STRIP (4 HITOS)
   ========================================================================== */
.gc-story-timeline-strip-wrapper {
	margin-bottom: 36px;
	width: 100%;
}

.gc-story-timeline-strip {
	background: rgba(255, 255, 255, 0.65);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 24px;
	padding: 20px 24px;
	box-shadow: 0 10px 30px rgba(3, 88, 119, 0.05);
	position: relative;
	box-sizing: border-box;
}

.gc-timeline-strip-rail {
	position: absolute;
	top: 42px;
	left: 60px;
	right: 60px;
	height: 2px;
	background: #E2E8F0;
	z-index: 1;
}

.gc-timeline-strip-fill {
	height: 100%;
	background: var(--gc-story-accent-green);
	width: 38%;
	transition: width 0.3s ease;
}

.gc-timeline-strip-items {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	position: relative;
	z-index: 2;
}

.gc-timeline-node-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 16px;
	border: 1px solid transparent;
	background: transparent;
	transition: all 0.25s ease;
	cursor: pointer;
	text-align: left;
	box-sizing: border-box;
}

.gc-timeline-node-card:hover {
	background: rgba(248, 250, 252, 0.8);
}

.gc-timeline-node-card.is-active {
	background: rgba(255, 255, 255, 0.85);
	border-color: rgba(63, 174, 106, 0.4);
	box-shadow: 0 8px 24px rgba(3, 88, 119, 0.06);
}

.gc-node-icon-circle {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #FFFFFF;
	border: 2px solid #E2E8F0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #64748B;
	transition: all 0.25s ease;
	flex-shrink: 0;
}

.gc-timeline-node-card.is-active .gc-node-icon-circle {
	border-color: var(--gc-story-accent-green);
	background: var(--gc-story-accent-green-soft);
	color: #166534;
	box-shadow: 0 0 0 4px rgba(63, 174, 106, 0.15);
}

.gc-node-content-block {
	display: flex;
	flex-direction: column;
}

.gc-node-step-num {
	font-size: 10.5px;
	font-weight: 800;
	color: #94A3B8;
	letter-spacing: 0.05em;
}

.gc-node-title {
	font-size: 15px;
	font-weight: 900;
	color: var(--gc-story-text-dark);
	font-family: 'Inter Tight', sans-serif;
	letter-spacing: -0.01em;
}

.gc-node-year-badge {
	font-size: 10.5px;
	font-weight: 700;
	color: #64748B;
	margin-top: 1px;
}

.gc-node-desc {
	font-size: 11.5px;
	line-height: 1.5;
	color: var(--gc-story-text-muted);
	margin: 4px 0 0 0;
}

/* ==========================================================================
   04. BOTTOM 3 FEATURE CARDS (MISIÓN, VISIÓN, BASE CARTAGENA)
   ========================================================================== */
.gc-story-bottom-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	align-items: stretch;
}

.gc-feature-card {
	background: rgba(255, 255, 255, 0.68);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 28px;
	padding: 0;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	min-height: 270px;
	box-shadow: 0 12px 32px rgba(3, 88, 119, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	overflow: hidden;
	box-sizing: border-box;
	position: relative;
}

/* Subtle dot grid pattern behind text/boundary */
.gc-card-has-dots::before {
	content: '';
	position: absolute;
	top: 0;
	right: 36%;
	width: 120px;
	height: 100%;
	background-image: radial-gradient(#CBD5E1 1.2px, transparent 1.2px);
	background-size: 10px 10px;
	pointer-events: none;
	opacity: 0.65;
	z-index: 1;
}

.gc-feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 45px rgba(7, 63, 77, 0.1);
}

.gc-feature-card-content {
	flex: 1 1 54%;
	padding: 28px 18px 28px 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	z-index: 2;
	box-sizing: border-box;
}

.gc-card-header-icon-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}

.gc-card-squircle-icon {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--gc-story-dark-card-bg);
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(3, 57, 72, 0.18);
}

.gc-card-eyebrow {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--gc-story-accent-green);
	text-transform: uppercase;
}

.gc-feature-card-title {
	font-size: 18px;
	font-weight: 900;
	line-height: 1.22;
	color: var(--gc-story-text-dark);
	font-family: 'Inter Tight', sans-serif;
	margin: 10px 0 6px 0;
	letter-spacing: -0.015em;
}

.gc-card-location-sub {
	font-size: 12px;
	font-weight: 600;
	color: var(--gc-story-text-muted);
	margin-bottom: 6px;
}

.gc-card-coords-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 10.5px;
	font-weight: 700;
	color: #166534;
	background: var(--gc-story-accent-green-soft);
	border: 1px solid var(--gc-story-accent-green-border);
	padding: 3px 8px;
	border-radius: 6px;
	margin-bottom: 8px;
	font-family: ui-monospace, monospace;
	width: fit-content;
}

.gc-feature-card-desc {
	font-size: 12px;
	line-height: 1.55;
	color: var(--gc-story-text-muted);
	margin: 0 0 16px 0;
	flex-grow: 1;
}

.gc-card-cta-pill-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border: 1px solid var(--gc-story-card-border);
	border-radius: 9999px;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--gc-story-text-dark);
	text-decoration: none;
	background: #FFFFFF;
	transition: all 0.2s ease;
	width: fit-content;
	font-family: 'Inter Tight', sans-serif;
}

.gc-card-cta-pill-btn:hover {
	border-color: var(--gc-story-accent-green);
	color: #166534;
	background: var(--gc-story-accent-green-soft);
}

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

.gc-card-cta-pill-btn:hover .gc-card-cta-arrow {
	transform: translateX(3px);
}

/* Right Image Arch Frame (Fills full height & right width) */
.gc-feature-card-image-wrap {
	flex: 1 1 48%;
	position: relative;
	width: 48%;
	min-width: 170px;
	align-self: stretch;
	z-index: 2;
	overflow: hidden;
}

.gc-card-arch-frame {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 120px 28px 28px 120px;
	overflow: hidden;
	box-shadow: -8px 0 25px rgba(63, 174, 106, 0.12);
	border-left: 2.5px solid rgba(255, 255, 255, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
}

.gc-card-arch-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center right;
	display: block;
	transform: scale(3.2);
	transform-origin: 70% 50%;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gc-feature-card:hover .gc-card-arch-img {
	transform: scale(3.35);
}

/* Floating Plant Leaf Badge on Card 1 */
.gc-card-leaf-badge {
	position: absolute;
	bottom: 14px;
	right: 14px;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: #064E59;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.35);
	z-index: 5;
}

/* ==========================================================================
   05. BOTTOM COMMITMENT NOTE
   ========================================================================== */
.gc-story-commitment-wrapper {
	margin-top: 32px;
	text-align: center;
}

.gc-story-commitment-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--gc-story-text-dark);
	background: var(--gc-story-accent-green-soft);
	border: 1px solid var(--gc-story-accent-green-border);
	padding: 8px 22px;
	border-radius: 9999px;
	font-family: 'Inter Tight', sans-serif;
}

.gc-commitment-leaf-icon {
	font-size: 14px;
}

/* ==========================================================================
   06. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
	.gc-story-top-hero-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.gc-story-hero-bg-wrapper {
		height: 900px;
	}

	.gc-story-bottom-cards-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.gc-feature-card {
		min-height: 240px;
	}

	.gc-feature-card-image-wrap {
		flex: 0 0 40%;
		width: 40%;
	}
}

@media (max-width: 768px) {
	.gc-story-section-clean {
		padding: 60px 16px 60px 16px;
	}

	.gc-story-dark-stmt-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 24px 20px;
	}

	.gc-stmt-card-divider {
		display: none;
	}

	.gc-timeline-strip-rail {
		display: none;
	}

	.gc-timeline-strip-items {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.gc-timeline-node-card {
		flex-direction: row;
		align-items: center;
		padding: 10px 12px;
	}

	.gc-feature-card {
		flex-direction: column;
		min-height: auto;
	}

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

	.gc-feature-card-image-wrap {
		width: 100%;
		height: 180px;
		min-height: 180px;
		flex: none;
	}

	.gc-card-arch-frame {
		border-radius: 0 0 28px 28px;
		border-left: none;
		border-top: 2px solid rgba(255, 255, 255, 0.9);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gc-timeline-strip-fill,
	.gc-card-arch-img {
		transition: none;
	}
}
